SA-MP Forums Archive
Car bomb problem... help please - 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: Car bomb problem... help please (/showthread.php?tid=94329)



Car bomb problem... help please - introzen - 29.08.2009

Hey, I was just wondering. How to sync a car bomb? So it will blow to every player on the server...


Re: Car bomb problem... help please - ded - 29.08.2009

Idk I have always wondered this. I have always thought maybe use CreateExplosion at the car's coordinates?


Re: Car bomb problem... help please - introzen - 29.08.2009

Quote:
Originally Posted by » ded «
Idk I have always wondered this. I have always thought maybe use CreateExplosion at the car's coordinates?
Ye I thought about that too...


Re: Car bomb problem... help please - Correlli - 29.08.2009

I think there are some scripts for this, using CreateExplosion of course.


Re: Car bomb problem... help please - klavins - 29.08.2009

but if nobody will be in that car that it wont blow up


Re: Car bomb problem... help please - CracK - 29.08.2009

http://forum.sa-mp.com/index.php?topic=19831.0


Re: Car bomb problem... help please - ded - 29.08.2009

Quote:
Originally Posted by klavins
but if nobody will be in that car that it wont blow up
Not necessarily ... you could use a variable like HasBombCar[playerid] = 1; after buying the bomb. The process of actually buying the bomb will set the bomb on the car ID. All you would need to do is use the variable in a command or by using player keys to explode the bomb.