04.01.2016, 18:49
Vocк esqueceu de colocar playerID na funзгo.
PHP код:
CMD:retirararmas(playerid, params[])
{
new playerID,
acstr[200]
;
if(Player[playerid][admin] <= 1) return SendClientMessage(playerid,azul,"Comando so para admins!");
{
if(sscanf(params,"d",playerID)) return SendClientMessage(playerid,azul,"Use: /retirararmas [ID]");
ResetPlayerWeapons(playerID);
format(acstr,sizeof(acstr),"Suas armas foram retiradas!");
PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
SendClientMessage(playerID,ciano,acstr);
}
return 1;
}