03.04.2009, 22:26
http://pastebin.com/d4731a5f3
when i get in one of the planes, it acts like you cant use that plane to airstrike.
also, i have a cmd if you need to see that
when i get in one of the planes, it acts like you cant use that plane to airstrike.
also, i have a cmd if you need to see that
Код:
if(strcmp(cmdtext, "/strike1", true) == 0)
{
if (GetPlayerSkin(playerid) == 287)
{
new vmodel = GetVehicleModel(playerid);
if (vmodel == 476 || vmodel == 519 || vmodel == 553)
{
//do strike here
SetTimer("Strike",1000,false);
}
else
{
SendClientMessage(playerid,red,"[!] Not in a plane that can do airstrikes.");
}
}
else
{
SendClientMessage(playerid,red,"Only Army Can Use Airstrike.");
}
return 1;
}

