[Ajuda] zcmd (cmd_)
#1

Boas, queria por no dialog response assim:
PHP код:
case 116:
                {
                    if(!
response)
                    {
                        
DeletePVar(playerid"StatsTab");
                        return 
1;
                    }
                    else
                    {
                        new 
string[50];
                        
format(stringsizeof string"%s"inputtext);
                        
cmd_ban(playeridGetPVarInt(playerid"StatsTab"), string);
                    } 
Tenho o cmd ban assim:

PHP код:
CMD:ban(playerid,params[])
{
    new 
playa,Messagem[100];
    if (
sscanf(params"ds[100]"playaMessagem))return SendClientMessage(playeridCOR_CMD_INCTO"*USA: /bantr69 [PlayerID] [Razгo]"); 
Mas da warnin:
Код:
error 035: argument type mismatch (argument 2)
Ajuda ae ?
Reply


Messages In This Thread
zcmd (cmd_) - by VeNuZ_ - 29.08.2014, 16:23
Re: zcmd (cmd_) - by ViniBorn - 29.08.2014, 16:26
Re: zcmd (cmd_) - by VeNuZ_ - 29.08.2014, 16:40
Re: zcmd (cmd_) - by MultiKill - 29.08.2014, 17:19
Re: zcmd (cmd_) - by Rodney Francalim - 29.08.2014, 17:20
Re: zcmd (cmd_) - by VeNuZ_ - 29.08.2014, 18:24

Forum Jump:


Users browsing this thread: 1 Guest(s)