* Name of the mod: MYOWNGODMODE.CS
[size=x-small]*Where you saw it: NEVER SEEN BEFORE.[/size]
[size=x-small]* What do you want: I WANT SOMEONE TO EXPLAIN ME WHAT LINE IS WRONG OR WHAT I'M DONIG WRONG HERE(CLEO SCRPITER N00B)[/size]
Hello ugbase,
its me again
I am making this thread with purppose to help me understand what i've done in this cleo script..
Here is the code(full):
So yep.. as you can see my intention is to get in a vehicle(any) damage it and when the vehicle health reachs to -280 and down on, it sets a inmunity to collision damage(i can crash in buildings etc and never take damage so thats the goal.) I also,added a delay of 10 seconds and turn it off again. (Like auto turn on/off itself)
But its not working properly!!! help :c
[size=x-small]*Where you saw it: NEVER SEEN BEFORE.[/size]
[size=x-small]* What do you want: I WANT SOMEONE TO EXPLAIN ME WHAT LINE IS WRONG OR WHAT I'M DONIG WRONG HERE(CLEO SCRPITER N00B)[/size]
Hello ugbase,
its me again
I am making this thread with purppose to help me understand what i've done in this cleo script..
Here is the code(full):
Code:
{$CLEO .cs}
thread 'mashit'
:GoodMan_37
wait 0
if
0ADC: "-"
jf @GoodMan_37
if
Player.Defined($PLAYER_CHAR)
jf @GoodMan_37
if
Player.Controllable($PLAYER_CHAR)
jf @GoodMan_37
if
Actor.Driving($PLAYER_ACTOR)
jf @GoodMan_37
03C0: 0@ = actor $PLAYER_ACTOR car
1@ = Car.Health(0@)
if
not 1@ > 280
jf @GoodMan_37
Car.SetImmunities(0@, 0, 0, 0, 1, 0)
018C: play_sound 1057 at 0.0 0.0 0.0
chatmsg "{8080ff}Blowuper {00ff00}ON" 16777215
//wait 10000 ms
//Car.SetImmunities(0@, 0, 0, 0, 0, 0)
//chatmsg "{8080ff}Blowuper {00ff00}OFF" 16777215
jump @GoodMan_37
But its not working properly!!! help :c