GetPlayerName Help
#9

To make it easier, you can also create a callback for this.

pawn Код:
stock GetPlayerNameEx(playerid)
{
    new name[24];
    GetPlayerName(playerid, name, 24);
    return name;
}
This will require you to only do

pawn Код:
format(string, sizeof(string), "%s", GetPlayerNameEx(playerid));
instead of

pawn Код:
new name[24];
GetPlayerName(playerid, name);
format(string, sizeof(string), "%s", name);
Reply


Messages In This Thread
GetPlayerName Help - by Salsa - 03.07.2013, 05:41
Re: GetPlayerName Help - by niconhan - 03.07.2013, 06:00
Re: GetPlayerName Help - by Salsa - 03.07.2013, 06:15
Re: GetPlayerName Help - by niconhan - 03.07.2013, 06:18
Re: GetPlayerName Help - by GODEX - 03.07.2013, 06:26
Re: GetPlayerName Help - by Salsa - 03.07.2013, 06:41
Re: GetPlayerName Help - by Cjgogo - 03.07.2013, 07:24
Re: GetPlayerName Help - by Salsa - 03.07.2013, 08:19
Re: GetPlayerName Help - by milanosie - 03.07.2013, 08:59

Forum Jump:


Users browsing this thread: 2 Guest(s)