17.12.2009, 22:12
Quote:
Originally Posted by John Rockie
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; } } |
pawn Код:
format(string, sizeof(string), "* %s Gets Guns And Puts A Armour On", sendername);
ProxDetector(15.0,playerid,string,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);