kill with explosion
#1

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.
Reply
#2

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.
Reply
#3

can you give me an example?
Reply
#4

help please
Reply


Forum Jump:


Users browsing this thread: