kill with explosion - 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: kill with explosion (
/showthread.php?tid=140207)
kill with explosion -
Headshot1108 - 08.04.2010
Hello.
How can I do that if anybody type /airstrike and anybody is in the airstrike, he gets killed and the airstriker gets score?
I have a /airstrike command already:
pawn Код:
if(!strcmp(cmdtext, "/airstrike", true))
{
if(Airstrike[playerid] == 1) return SendClientMessage(playerid,0xFF0000AA,"Please Wait");
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
Airstrike[playerid] = 1;
Adromada = CreateObject(14553,x-50,y,z+75,0.000000,40.000000,90);
MoveObject(Adromada,x+250,y,z+75,29);
SetTimerEx("AirstrikeGo",6000,false,"fffd",x,y,z,Airstrike);
}
if you need the AirstrikeGo please say it.
Re: kill with explosion -
Backwardsman97 - 08.04.2010
Well you could call a timer right as the bombs are going off to see if anyone died of whatever the death reason is for a script-generated explosion and check.
Re: kill with explosion -
Headshot1108 - 08.04.2010
can you give me an example?
Re: kill with explosion -
Headshot1108 - 08.04.2010
help please