08.04.2010, 00:24
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:
if you need the AirstrikeGo please say it.
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);
}