CLEO Help [HELP] Seatbelt cleo

CLEO related
Status
Not open for further replies.

AidanGucci

Active member
Joined
Sep 19, 2017
Messages
98
Reaction score
8
Hi, I need a simple cleo. If you enter a vehicle it will say /me has put seatbelt on. Or tell me how can I make one?
 
Joined
Apr 5, 2018
Messages
12
Reaction score
0
AidanGucci said:
Hi, I need a simple cleo. If you enter a vehicle it will say /me has put seatbelt on. Or tell me how can I make one?


[font=arial, sans-serif]You need a kernel that fulfills its function as a safety belt because I suppose that in the sv you play if you crash in a car you lose your life or you need that when you get into a car the role will appear on the screen "/ I put on my belt security "[/font]
 

Parazitas

God
Staff member
Joined
Jan 2, 2017
Messages
3,315
Solutions
7
Reaction score
936
Location
Lithuania
[shcode=cpp]
{$CLEO .cs}
 
0000:
 
wait 10000
 
WHILE TRUE
wait 0
 
IF
0ADC:   test_cheat "seatbelt"
THEN
   IF
   0@ == FALSE
   THEN
       0@ = TRUE
       chatmsg "+" 0xFFE3B925
   ELSE
       0@ = FALSE
       chatmsg "-" 0xFFE3B925
   END
  wait 1337 // anti spam
END
 
IF
0256:   player $PLAYER_CHAR defined
THEN
   IF AND
   0@ == TRUE
   1@ == true
   00DF:   actor $PLAYER_ACTOR driving
   THEN
       wait 1000
       1@ = false
       say "/me"
   END
END

if
80DF:   actor $PLAYER_ACTOR driving
then
   1@ = true
end

END
[/shcode]
 
Status
Not open for further replies.
Top