creating bombs? - 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: creating bombs? (
/showthread.php?tid=175351)
creating bombs? -
thomas.. - 09.09.2010
you know on some servers where you press 2 or something and a barrel creates behind your vehicle, anyone got that script? also with ammo? xD
Re: creating bombs? -
miokie - 09.09.2010
OnPlayerKeyStateChange
Create the Object
Create a timer for how ever many seconds to destroy the object.
Pretty simple, look at the wiki to find out how to work Timers and OnPlayerKeyStateChange.
Re: creating bombs? -
thomas.. - 09.09.2010
yeah but the offsets? and put them in a row of 4
Re: creating bombs? -
miokie - 09.09.2010
Get the vehicles position then create the objects around what the pos is like CreateObject(ObjID,x+1 etc...
Re: creating bombs? -
thomas.. - 09.09.2010
wait how to get the cars pos?
Re: creating bombs? -
thomas.. - 09.09.2010
help!
Re: creating bombs? -
Matej_ - 09.09.2010
Quote:
Originally Posted by thomas..
wait how to get the cars pos?
|
https://sampwiki.blast.hk/wiki/Function:GetVehiclePos
Next time use San Andreas Multiplayer Wiki !
Re: creating bombs? -
thomas.. - 09.09.2010
duhh ive already FUCKING LOOKED THERE
Re: creating bombs? -
miokie - 09.09.2010
Obviously not when he's just given you the link to the wiki with what you needed.
And what's with the unpoliteness? ... Kids these days...