Airstrike
#1

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

Код:
	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;
	}
Reply


Messages In This Thread
Airstrike - by CJ101 - 03.04.2009, 22:26
Re: Airstrike - by LarzI - 03.04.2009, 22:38
Re: Airstrike - by CJ101 - 03.04.2009, 22:56
Re: Airstrike - by LarzI - 04.04.2009, 07:04

Forum Jump:


Users browsing this thread: 1 Guest(s)