29.05.2011, 02:05
pawn Код:
if(strcmp(cmd, "/armas", true) == 0)
{
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s Se equipou(/armas).", pname);
SendClientMessageToAll(COR_LARANJA, string);
SendClientMessage(playerid, COLOR_YELLOW, "Vocк se equipou.");
GivePlayerWeapon(playerid,46,1);
GivePlayerWeapon(playerid,22,9999);
GivePlayerWeapon(playerid,23,9999);
GivePlayerWeapon(playerid,24,9999);
GivePlayerWeapon(playerid,25,9999);
GivePlayerWeapon(playerid,29,9999);
GivePlayerWeapon(playerid,30,9999);
GivePlayerWeapon(playerid,31,9999);
GivePlayerWeapon(playerid,32,9999);
GivePlayerWeapon(playerid,16,9999);
GivePlayerWeapon(playerid,28,9999);
GivePlayerWeapon(playerid,34,9999);
return 1;
}