Hello everyone, I tried putting the core of even driving a car without petrol for it being off / on.
I tried to add a 0AB0: 88 KEY_PRESSED the car so when I'm walking with pressionada.Eu key pressed if I wanted just once, he already would connect the core mod, and not have to keep pressing right to get activated.
How could I do this?
Code:
Credits for : http://ugbase.eu/releases-6/nofuel-cs-drive-car-without-fuel-on-rp-servers/
I tried to add a 0AB0: 88 KEY_PRESSED the car so when I'm walking with pressionada.Eu key pressed if I wanted just once, he already would connect the core mod, and not have to keep pressing right to get activated.
How could I do this?
Code:
Code:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
//-------------MAIN---------------
wait 0
:NONAME_4
wait 0
if
0AB0: key_pressed 88
else_jump @NONAME_4
if and
Player.Defined($PLAYER_CHAR)
Actor.Driving($PLAYER_ACTOR)
else_jump @NONAME_4
jump @NONAME_36
:NONAME_36
1@ = Actor.CurrentCar($PLAYER_ACTOR)
0918: set_car 1@ engine_operation 1
jump @NONAME_4
Credits for : http://ugbase.eu/releases-6/nofuel-cs-drive-car-without-fuel-on-rp-servers/