ver nome do player
#3

Pra que 256 cedulas.. ?
pawn Код:
if(strcmp(cmd, "/id", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            tmp = strtok(cmdtext, idx);
            if(!strlen(tmp))
            {
                SendClientMessage(playerid, 0xFFFF00AA, "/id [ Nick do Player ]");
                return 1;
            }
            new target;
            target = ReturnUser(tmp);
            new sstring[70];
            if(IsPlayerConnected(target))
            {
                if(target != INVALID_PLAYER_ID)
                {
                    GetPlayerName(target, giveplayer, sizeof(giveplayer));
                    format(sstring, sizeof(sstring), "ID: (%d) %s",target,giveplayer);
                    SendClientMessage(playerid, 0xFFFF00AA, sstring);
                }
            }
        }
        return 1;
    }
Acho que sу 70 resolve
Reply


Messages In This Thread
ver nome do player - by emanuelx - 07.03.2011, 17:34
Re: ver nome do player - by JonathanFeitosa - 07.03.2011, 17:39
Re: ver nome do player - by Ricop522 - 07.03.2011, 17:42
Re: ver nome do player - by JonathanFeitosa - 07.03.2011, 17:43
Re: ver nome do player - by EoProzinhO - 07.03.2011, 17:44
Re: ver nome do player - by LuxurioN™ - 07.03.2011, 18:01
Re: ver nome do player - by leandro123456 - 07.03.2011, 18:02
Re: ver nome do player - by Falcon. - 07.03.2011, 18:19
Re: ver nome do player - by leandro123456 - 07.03.2011, 18:23
Re: ver nome do player - by LuxurioN™ - 07.03.2011, 18:32

Forum Jump:


Users browsing this thread: 2 Guest(s)