Posts: 169
Threads: 25
Joined: Nov 2010
Reputation:
0
Please use [pawn] tags and you want to destroy your vehicle that you spawn? and it actually spawns
in 30 seconds? or?
Posts: 49
Threads: 9
Joined: Jan 2011
Reputation:
0
after getting out of the bike to break the 30 seconds
Posts: 169
Threads: 25
Joined: Nov 2010
Reputation:
0
I mean, its midnight here can you explain what you want to happent... xD
Wait, after you've left the vehicle it will start a timer for 30 seconds and when the timer is over the vehicle will disappear? or blow?
Posts: 49
Threads: 9
Joined: Jan 2011
Reputation:
0
disappear dude....
in brief:
I want a DestroyVehicle
and a killtimer
is so hard? ( LOL?!)
Posts: 1,046
Threads: 29
Joined: Mar 2010
Check in OnPlayerStateChange for if the player has exited his/her vehicle. Start there a SetTimerEx with the vehicle ID param. Of course also a callback which does also include the vehicle ID param. Inside this callback just destroy the vehicle ID. Done!
Posts: 169
Threads: 25
Joined: Nov 2010
Reputation:
0
In my code, change ''vehicle'' to pvehicle
new pvehicle [MAX_VEHICLES];
pvehicle = createvehicle blabla
and etc
because ''vehicle'' is allready defined in your nitro function
EDIT for your latest post: Try yourself script after having a long day and tired as hell, but since there was nobody else to help I thought I should try, why not to try yourself instead asking everyone to script it for you and then ask help with problems, maybe you could learn something ^_^
Posts: 49
Threads: 9
Joined: Jan 2011
Reputation:
0
Does not work! ( thanks for nothing )
Another option?