Resource icon

CLEO Release Auto seatbelt(/seatbelt) for RP servers

CLEO related
Status
Not open for further replies.

undiscovered

Active member
Joined
May 3, 2013
Messages
76
Reaction score
0
For Rp servers that provide seatbelt ( /seatbelt ) feature.. Safety is a must :) :):) :happy: :happy::happy:
Code:
{$CLEO .cs}

thread 'Gio'

 :LOAD
    wait 0
    if
      8AF7: get_samp_base_to 0@
    then
        0A93: end_custom_thread
    end
    repeat
       wait 400
    until 0AFA: is_samp_structures_available


:Gio_01
wait 0
if 
0256:   player $PLAYER_CHAR defined       
else_jump @Gio_01
if 
0449:   actor $PLAYER_ACTOR in_a_car
else_jump @Gio_01
wait 1000
0AF9: samp say_msg "/seatbelt"                                  
jump @Gio_02

:Gio_02
wait 0
if 
044B:   actor $PLAYER_ACTOR on_foot
else_jump @Gio_02
jump @Gio_01
 

Attachments

  • autoseatbelt.cs
    17.3 KB · Views: 613

Naganaga

Active member
Joined
Apr 13, 2013
Messages
103
Reaction score
0
This is so usefull, it's going in my cleo folder.


Can you make it /sb, instead /seatbelt?


Thanks.
 

undiscovered

Active member
Joined
May 3, 2013
Messages
76
Reaction score
0
This is so usefull, it's going in my cleo folder.


Can you make it /sb, instead /seatbelt?


Thanks.
Do you have an idea that this is automatic,? after entering the vehicle it will send /seatbelt? or the command you're using is it /sb for seatbelt?
 

undiscovered

Active member
Joined
May 3, 2013
Messages
76
Reaction score
0
Here anyways, you need samp func 2.6
 

Attachments

  • autoseatbelt.cs
    17.3 KB · Views: 151

reowin

Active member
Joined
May 14, 2013
Messages
39
Reaction score
0
can anyone confirm that is actualy the script inside the .cs before i try this
 

undiscovered

Active member
Joined
May 3, 2013
Messages
76
Reaction score
0
can anyone confirm that is actualy the script inside the .cs before i try this
Tried and tested myself. Waits 500ms (.5 sec) before sending the command // Because you are just entering the veh so anims stuff will take about .5 secs
 

SeeJaybro

Member
Joined
May 26, 2013
Messages
14
Reaction score
0
anyway to make it so that it starts the car as well with /car engine, but if the car is on then it won't send the command. And then repeat the process for turning the car off when you get out?
 

cudi

Active member
Joined
May 13, 2013
Messages
80
Reaction score
0
Someone please update this for 0.3z and make it do /car engine too if the car isn't already on
 

pinkian

Member
Joined
Apr 3, 2014
Messages
10
Reaction score
0
cudi link said:
Someone please update this for 0.3z and make it do /car engine too if the car isn't already on
Hello, this is undiscovered. Download samp func 3.1.1
 

ViRuSHD

Member
Joined
Apr 17, 2014
Messages
5
Reaction score
0
Could someone link samp func 3.1.1 or the other ones that work with this cs.? Thank's.
 
Status
Not open for further replies.
Top