10.03.2012, 13:50
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 true;
}
if(!strcmp(cmdtext,"/proximocomando",true))
{
//Funзгo
return true;
}
return false;
}