#3

this is what i got
Код:
if(strcmp(cmdtext,"/equip",true, 10)==0)
  {
    if(IsPlayerInVehicle(playerid, 427))
    if(IsPlayerInVehicle(playerid, 428))
    if(IsPlayerInVehicle(playerid, 490))
  	if(gTeam[playerid] == TEAM_SWAT)
   	{
   	  GivePlayerWeapon(playerid, 34, 99999);
	  		GivePlayerWeapon(playerid, 29, 99999);
	  		GivePlayerWeapon(playerid, 31, 99999);
	  		GivePlayerWeapon(playerid, 27, 99999);
  		SetPlayerArmour(playerid, 100.0);
   		PlayerActionMessage(playerid,15.0,"Gets Guns And Puts A Armour On");
  		}
			else
			{
  			SendClientMessage(playerid, COLOR_YELLOW, "you need to be in a Enforcer, FBI rancher, or FBI truck");
  			return 1;
		}
	}
Reply


Messages In This Thread
Help - by John Rockie - 17.12.2009, 01:37
Re: Help - by DJDhan - 17.12.2009, 05:58
Re: Help - by John Rockie - 17.12.2009, 21:16
Re: Help - by Nakash - 17.12.2009, 22:12

Forum Jump:


Users browsing this thread: 1 Guest(s)