Hi guys, in trollboss.cs there is a function that burns other car when y type tb.fire <playername>
Code:
:FIRE_ACT
wait 0
6@ = Actor.CurrentCar(4@)
Actor.StorePos($PLAYER_ACTOR, 7@, 8@, 9@)
if
Actor.Driving($PLAYER_ACTOR)
then
5@ = Actor.CurrentCar($PLAYER_ACTOR)
036A: put_actor $PLAYER_ACTOR in_car 6@
wait 150
0224: set_car 6@ health_to 200
wait 400
036A: put_actor $PLAYER_ACTOR in_car 5@
0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
036A: put_actor $PLAYER_ACTOR in_car 5@
else
0430: put_actor $PLAYER_ACTOR into_car 6@ passenger_seat -1
wait 500
036A: put_actor $PLAYER_ACTOR in_car 6@
wait 150
0224: set_car 6@ health_to 200
wait 400
0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 7@ 8@ 9@
wait 200
Camera.Restore_WithJumpCut()
end
0@ = 0
SAMP.CmdRet()
jump @MAIN
I've some question to y all
all of the about variables
Actor.StorePos($PLAYER_ACTOR, 7@, 8@, 9@)
what is 7@, 8@, 9@, what is it doing
can y explain me this code, and the variables plzz, i messed up with this thing..
Thanks for yr attention..