proaleksandar
Member
- Joined
- Sep 29, 2017
- Messages
- 15
- Reaction score
- 0
Hello,
I have problem!
Script working very good.
But i have problem with infinite nitro!
When button (-) not pressed script adding nitro non stop!
I imagined it until I pressed button (-) script normally works!
But when nitro is switched on, He goes out! (Create new nitro then need click left mouse click agin agin agin)
How to set when one nitro switches on,to work until I squeeze button (-) = key_down 109
I have problem!
Script working very good.
But i have problem with infinite nitro!
When button (-) not pressed script adding nitro non stop!
I imagined it until I pressed button (-) script normally works!
But when nitro is switched on, He goes out! (Create new nitro then need click left mouse click agin agin agin)
How to set when one nitro switches on,to work until I squeeze button (-) = key_down 109
Code:
:AddNitro
wait 0
if
not Actor.Driving($PLAYER_ACTOR)
then
wait 0
0af8: chat "{a4c639}|| AddNitro ||{f2f3f4} You have to be in the {e03c31}vehcile{f2f3f4}!" 0xa4c639
//0AC9: free_allocated_memory 0@
jump @Finish
end
if and
Actor.Driving($PLAYER_ACTOR)
not key_down 109
then
0@ = Actor.CurrentCar($PLAYER_ACTOR)
09E9: car 0@ set_single_nitro
wait 3000
jump @AddNitro
end
if
key_down 109
then
wait 0
0af8: chat "{a4c639}|| AddNitro ||{f2f3f4} Infinite nitro now {e03c31}OFF{f2f3f4}!" 0xa4c639
0AC9: free_allocated_memory 0@
jump @Finish
end
end
else_jump @AddNitro