17.12.2009, 21:16
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; } }