TyroneMaddog
Active member
- Joined
- Apr 2, 2013
- Messages
- 52
- Reaction score
- 1
Possible, will do later
{$CLEO .cs}
0000:
WHILE TRUE
WAIT 0
IF 0AB0: key_pressed 114 // F3
THEN
IF 0256: player $PLAYER_CHAR defined
THEN
IF 00DF: actor $PLAYER_ACTOR driving
THEN
03C0: 1@ = actor $PLAYER_ACTOR car
09E9: car 1@ set_single_nitro
0AD1: show_formatted_text_highpriority "~g~NITRO!" time 1337
END
END
WAIT 1337
END
END
0A93: terminate_this_custom_script
I wanted something else, but this works even better. Thanks!PHP:{$CLEO .cs} 0000: WHILE TRUE WAIT 0 IF 0AB0: key_pressed 114 // F3 THEN IF 0256: player $PLAYER_CHAR defined THEN IF 00DF: actor $PLAYER_ACTOR driving THEN 03C0: 1@ = actor $PLAYER_ACTOR car 09E9: car 1@ set_single_nitro 0AD1: show_formatted_text_highpriority "~g~NITRO!" time 1337 END END WAIT 1337 END END 0A93: terminate_this_custom_script
Possible, will do later
What I originally wanted is to make this togglable, for example: You log into a server and it's off by default, no matter how many times u press control it won't give u NOS, as it's disabled. And make it like F3 it's on and off-key. Is it possible to make?PHP:{$CLEO .cs} 0000: WHILE TRUE WAIT 0 IF 0AB0: key_pressed 114 // F3 THEN IF 0256: player $PLAYER_CHAR defined THEN IF 00DF: actor $PLAYER_ACTOR driving THEN 03C0: 1@ = actor $PLAYER_ACTOR car 09E9: car 1@ set_single_nitro 0AD1: show_formatted_text_highpriority "~g~NITRO!" time 1337 END END WAIT 1337 END END 0A93: terminate_this_custom_script
Check this >>>What I originally wanted is to make this togglable, for example: You log into a server and it's off by default, no matter how many times u press control it won't give u NOS, as it's disabled. And make it like F3 it's on and off-key. Is it possible to make?
{$CLEO .cs}
{$USE bitwise}
0000:
WHILE TRUE
WAIT 0
IF 0AB0: key_pressed 114 // F3
THEN
IF 0256: player $PLAYER_CHAR defined
THEN
IF 00DF: actor $PLAYER_ACTOR driving
THEN
03C0: 1@ = actor $PLAYER_ACTOR car
0B12: 30@ = 30@ XOR 1
IF 0039: 30@ == 1
THEN
09E9: car 1@ set_single_nitro
0AD1: show_formatted_text_highpriority "~g~NITRO!" time 300
ELSE
06E8: car 1@ destroy_component 1008
0AD1: show_formatted_text_highpriority "~R~NITRO!" time 300
END
END
END
WAIT 300
END
END
0A93: terminate_this_custom_script
Yes, this one's good. But in the original, I could press CTRL again when the NOS finished and it would spawn another. In this one, you need to press F3 to on/off in order to spawn another one. Can you fix it, please? Thanks.Check this >>>
PHP:{$CLEO .cs} {$USE bitwise} 0000: WHILE TRUE WAIT 0 IF 0AB0: key_pressed 114 // F3 THEN IF 0256: player $PLAYER_CHAR defined THEN IF 00DF: actor $PLAYER_ACTOR driving THEN 03C0: 1@ = actor $PLAYER_ACTOR car 0B12: 30@ = 30@ XOR 1 IF 0039: 30@ == 1 THEN 09E9: car 1@ set_single_nitro 0AD1: show_formatted_text_highpriority "~g~NITRO!" time 300 ELSE 06E8: car 1@ destroy_component 1008 0AD1: show_formatted_text_highpriority "~R~NITRO!" time 300 END END END WAIT 300 END END 0A93: terminate_this_custom_script
Just change original gta key by changing memory or send fake CTRL key press when you pressing F3Guys - Is it possible to add on/off via F3 to this NITRO.cs CLEO without altering the code too much?