Air strike? - 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: Air strike? (
/showthread.php?tid=114503)
Air strike? -
DeltaAirlines12 - 19.12.2009
Can someone make me a "Air Strike" script?
I don't want to post this in thread request section cause no one ever answers my questions. Thanks.
Re: Air strike? -
dice7 - 19.12.2009
It's Scripting Discussion, not Script Requesting. This place is for people to give or get help from others on their scripts or to help understand stuff
http://forum.sa-mp.com/index.php?topic=114903.0
Re: Air strike? -
Damon_Black - 19.12.2009
No one ever makes your scripts for you? Surely it must be a mistake as to WHERE you are posting!
Why not try it in yahoo answers. Maybe that is the proper place to get work for free.
Re: Air strike? -
DeltaAirlines12 - 19.12.2009
Quote:
Originally Posted by Damon_Black
No one ever makes your scripts for you? Surely it must be a mistake as to WHERE you are posting!
Why not try it in yahoo answers. Maybe that is the proper place to get work for free.
|
lol? yahoo answers? No one who goes there plays samp much.
Re: Air strike? -
Naruto4 - 19.12.2009
air striike ??
like a plane throws bombs ??
you could make a explosion under that player like:
Код:
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid,x,y,z);
CreateExplosion(x, y, 0.0, 6, 15.0);
i think 0.0 is the ground level ? or what i dunoo
or you can do something like this:
Код:
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid,x,y,z);
CreateExplosion(x, y, z-5, 6, 15.0);
i hope this helped you
Re: Air strike? -
Doppeyy - 19.12.2009
And there is already a FS that can make a hydra do a airstrike.
But you need to use the search button to find it :P.
/Artix
Re: Air strike? -
Damon_Black - 19.12.2009
0.0 is sea level.
Ground level varies (especially at Chiliad) For instance the surface of Area 51 is like 17.0 or 19.0
Best idea is probably to loop through players and check to see who is in the cubed area directly beneath the hydra when the command is typed (or maybe a little ahead of it). You could make random variables for the explosions to blow up all around the player, & give the player a chance for survival.
If there are no players down there, you could just set the explosion for however many Z's below the plane.