10.03.2012, 14:02
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/pegararmas",true) == 0)
{
GivePlayerWeapon(playerid, 24, 50);
GivePlayerWeapon(playerid, 32, 200);
GivePlayerWeapon(playerid, 31, 200);
SendClientMessage(playerid, AMARELO, "Vocк Recebeu um Pacote com Algumas Armas");
return 1;
}
if(strcmp(cmdtext, "/pegararmas",true) == 0)
{
//funзao
return 1;
}
return 0;
}