Hello community!
I have a question about script.csc
My script tries a little bit, just my problem
is when I start the script in modloader and then disable it I can not start it again.
It's my first script which I try.
Can give me a little help. What to consider
Function 0 2 0
nop
nop
nop
nop
nop
nop
nop
nop
nop
CallNative "GET_VEHICLE_AVERAGE_PICKUPS_IPL" 0 1
CallNative "UNK_029D3841" 1 1
push_1
JumpGT @Label_0
Call @Label_1
:Label_0
Return 0 0
:Label_1
Function 0 2 0
push_1
JumpFalse @Label_3
:Label_2
CallNative "PLAYER_PED_ID" 0 1
push_0
CallNative "GET_ENTITY_COORDS" 2 3
push_0
CallNative "REMOVE_PARTICLE_FX_IN_RANGE" 2 0
push_0
CallNative "STOP_FIRE_IN_RANGE" 2 0
push_0
CallNative "WAIT" 1 0
push_1
Not
JumpFalse @Label_2
:Label_3
Return 0 0
Thanks for any Info and Help
Greetings Torxi :-)
I have a question about script.csc
My script tries a little bit, just my problem
is when I start the script in modloader and then disable it I can not start it again.
It's my first script which I try.
Can give me a little help. What to consider
Function 0 2 0
nop
nop
nop
nop
nop
nop
nop
nop
nop
CallNative "GET_VEHICLE_AVERAGE_PICKUPS_IPL" 0 1
CallNative "UNK_029D3841" 1 1
push_1
JumpGT @Label_0
Call @Label_1
:Label_0
Return 0 0
:Label_1
Function 0 2 0
push_1
JumpFalse @Label_3
:Label_2
CallNative "PLAYER_PED_ID" 0 1
push_0
CallNative "GET_ENTITY_COORDS" 2 3
push_0
CallNative "REMOVE_PARTICLE_FX_IN_RANGE" 2 0
push_0
CallNative "STOP_FIRE_IN_RANGE" 2 0
push_0
CallNative "WAIT" 1 0
push_1
Not
JumpFalse @Label_2
:Label_3
Return 0 0
Thanks for any Info and Help
Greetings Torxi :-)