[Ajuda] Comando /retirararmas !
#2

Vocк esqueceu de colocar playerID na funзгo.

PHP код:
CMD:retirararmas(playeridparams[])
{
    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;

Reply


Messages In This Thread
Comando /retirararmas ! - by TatuTM - 04.01.2016, 18:25
Re: Comando /retirararmas ! - by LockedLucas - 04.01.2016, 18:49
Respuesta: Comando /retirararmas ! - by TatuTM - 04.01.2016, 21:17
Re: Comando /retirararmas ! - by Coringa_Vilao - 04.01.2016, 21:47
Respuesta: Comando /retirararmas ! - by TatuTM - 05.01.2016, 20:14

Forum Jump:


Users browsing this thread: 1 Guest(s)