[Ajuda] SetHelper
#4

Quote:
Originally Posted by DavidCosta
Посмотреть сообщение
O que queres que faзa?

o comando nгo funciona ele para no print 6

pawn Код:
print("5");
        giveplayerid = strval(tmp);
        print("6");
        if(!strlen(tmp))
        {
                SendClientMessage(playerid, 0xD8D8D8FF, "Uso correto: /sethelper [id do player] [level]");
                return 1;
        }
        print("7");
        tmp = strtok(cmd, idx);
        print("8");
//----------------------------------//
Quote:
Originally Posted by MultiKill
Посмотреть сообщение
Nгo tenha preguiзa e refaзa o comando:
pawn Код:
CMD:sethelp(playerid, params[])
{
    new id, level;
    if(sscanf(params, "ui", id, level)) return SendClientMessage(playerid, 0xD8D8D8FF, "Uso correto: /sethelper [id do player] [level]");
    // Resto do Comando
    return 1;
}
Parece que й difнcil fazer este simples comando.

.
o unico problema que eu me perco com sscanf й ali no "ui" mais eu vou tentar
Reply


Messages In This Thread
SetHelper - by _Play_ - 11.10.2014, 15:48
Re: SetHelper - by MultiKill - 11.10.2014, 16:00
Re: SetHelper - by DavidCosta - 11.10.2014, 16:01
Re: SetHelper - by _Play_ - 11.10.2014, 16:10
Re: SetHelper - by MultiKill - 11.10.2014, 16:18
Re: SetHelper - by _Play_ - 11.10.2014, 17:32
Re: SetHelper - by Artista - 11.10.2014, 19:34
Re: SetHelper - by _Play_ - 11.10.2014, 20:14
Re: SetHelper - by DavidCosta - 11.10.2014, 20:28
Re: SetHelper - by _Play_ - 11.10.2014, 20:33

Forum Jump:


Users browsing this thread: 2 Guest(s)