SA-MP Forums Archive
Cars Tires already popped - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Cars Tires already popped (/showthread.php?tid=97175)



Cars Tires already popped - RobertGraham - 13.09.2009

I was outlining a game mode earlier today, thinking of things that would be good to throw into a GM. My question is, is there a way to make a timer to where your tires on the vehicle will pop?


Re: Cars Tires already popped - boelie - 13.09.2009

So you want to make a timer..that makes all tires pop after a certain time ?
well there already standard popping in sa-mp 0.3 when you shoot at them.

maybe you could try the popping function in 'OnplayerEnterVehicle ?


Re: Cars Tires already popped - RobertGraham - 13.09.2009

The reason I was asking, is because I'm gonna try to make a script to make wear and tear on your vehicle, and after a certain time, you need to get maintenance done. If you don't your tires will blow, and then your car will smoke and not move anymore.


Re: Cars Tires already popped - boelie - 13.09.2009

Nice idea, but im not sure if its possible because

the tirepopfunction is always used under ongamemodeinit .
i suggest that you test if it works also on a command. because if that works it would also work on timers,pickups etc.
If that works (wich i dont think so) then maybe you can work on your idea good luck!


Re: Cars Tires already popped - RobertGraham - 13.09.2009

Alright, thanks for the help


Re: Cars Tires already popped - Calgon - 13.09.2009

You can't pop tires, the "tire pop function" is the one which enables the popping of tires, it doesn't pop them.


Re: Cars Tires already popped - boelie - 13.09.2009

O ye -lol- forgot about that...Calgon is right forget about this its not gonna work