Nearest players list
#6

Just search for the delimiter after the id "\t"
pawn Код:
case 32767: {
    if(!response)return false;

    inputtext[strfind(inputtext, "\t")] = EOS;

    new
        string[128],
        giveplayerid = strval(inputtext)
    ;
    format(string, sizeof(string), "%s (%d) wybrał właśnie Ciebie!", PlayerName(playerid), playerid);
    SendClientMessage(giveplayerid , -1, string);

    format(string, sizeof(string), "Wybrałeś %s (%d)!", PlayerName(giveplayerid), giveplayerid);
    SendClientMessage(playerid, -1, string);
}
But no clue why their should be an id 0 problem
Reply


Messages In This Thread
Nearest players list - by Riddick94 - 10.04.2013, 16:23
Re: Nearest players list - by fordawinzz - 10.04.2013, 16:28
AW: Nearest players list - by Nero_3D - 10.04.2013, 16:38
Re: Nearest players list - by Riddick94 - 10.04.2013, 16:39
Re: AW: Nearest players list - by Riddick94 - 10.04.2013, 17:00
AW: Nearest players list - by Nero_3D - 10.04.2013, 19:16
Re: Nearest players list - by Riddick94 - 10.04.2013, 19:27

Forum Jump:


Users browsing this thread: 1 Guest(s)