[Ajuda] Comando /dararma
#10

Tenta deste modo:

PHP код:
    CMD:dararma(playeridparams[])
    {
        new 
String[128], IDArmaMunicao;
        if(
sscanf(params"usd"IDArmaMunicao)) return SendClientMessage(playerid, -1"Use: /dararma [id] [arma] [muniзгo]");
        if(
Arma || Arma 46) return 1;
        
format(Stringsizeof(String), "Vocк ganhou a arma: %s com %d de muniзгo!"ArmaMunicao);
        
SendClientMessage(ID, -1String);
        if(!
strcmp(params"Deagle"true))
        {
            
GivePlayerWeapon(ID24Municao);
            return 
1;
        }
        if(!
strcmp(params"Shotgun"true))
        {
            
GivePlayerWeapon(ID25Municao);
            return 
1;
        }
        return 
1;
    } 
Reply


Messages In This Thread
Comando /dararma - by MatheusAlcapone - 14.10.2012, 01:33
Re: Comando /dararma - by Life Advanced - 14.10.2012, 02:40
Re: Comando /dararma - by Diogo123 - 14.10.2012, 02:44
Re: Comando /dararma - by MatheusAlcapone - 14.10.2012, 02:46
Re: Comando /dararma - by Life Advanced - 14.10.2012, 02:48
Re: Comando /dararma - by MatheusAlcapone - 14.10.2012, 02:50
Re: Comando /dararma - by Life Advanced - 14.10.2012, 02:56
Re: Comando /dararma - by Diogo123 - 14.10.2012, 02:57
Re: Comando /dararma - by MatheusAlcapone - 14.10.2012, 03:02
Re: Comando /dararma - by Ouro - 14.10.2012, 04:12

Forum Jump:


Users browsing this thread: 2 Guest(s)