Nearest players list
#3

Why get the name and than find the id if he already passes the id ?

pawn Код:
case 32767: {
    if(!response)return false;

    inputtext[strfind(inputtext, ")", 1)] = EOS;

    new
        string[128],
        giveplayerid = strval(inputtext[1])
    ;
    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)!", inputtext, giveplayerid);
    SendClientMessage(playerid, -1, string);
}
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: 2 Guest(s)