SA-MP Forums Archive
[HELP]Rustler Throw 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)
+--- Thread: [HELP]Rustler Throw Bombs ! (/showthread.php?tid=491847)



[HELP]Rustler Throw Bombs ! - Sky96 - 01.02.2014

Hello SAMP members i need help about rustler. I need pawno code where rustler is able to drop small bombs every 40 sec and when the bombs hit the ground they explode . I really need this script for my TDM server Tnx every member who help !


Re: [HELP]Rustler Throw Bombs ! - ACI - 01.02.2014

Y U NO USE THE ****** SEARCH OR SA-MP's SEARCH BUTTON?!?!!



http://www.lmsify.com/2CB939


Re: [HELP]Rustler Throw Bombs ! - Sky96 - 01.02.2014

Oh TnQ ACI ... i found it


Re: [HELP]Rustler Throw Bombs ! - Sky96 - 01.02.2014

And just 1 question when i drop bomb i cant see the bomb i just see explosion on ground but i would like to see bomb and when hit the ground then explode ... could you just tell me that ?


Re: [HELP]Rustler Throw Bombs ! - ACI - 01.02.2014

Dude... If you have a nice knowledge about mathematical manipulations and scripting, I would say: search for a object whose structure is like a bomb, then get latest position of the plane, then create a object there, then every fraction of a second, it will be getting down until it doesn't reach the ground. If you dont know how to make it lose height, then you will have to just add "Z - 5" to the coordinates or something less or greater than five (Depends on your need)... That will decrease the height of the object by - 5 (for example) when ever you call these operations in a call back (They can be called again and again by using timers).