What way is better for that?
#3

And when I use this, like you said

pawn Код:
new playersName[MAX_PLAYERS][MAX_PLAYER_NAME];

public OnPlayerDisconnect(playerid)
{
    playersName[playerid][0] = '\0';
    return 1;
}

GetPlayersName(playerid)
{
    if(isnull(playersName))
    {
        GetPlayerName(playerid, playersName, MAX_PLAYER_NAME);
    }

    return playersName;
}
Then I need to put into format just GetPlayersName(playerid)?
Reply


Messages In This Thread
What way is better for that? - by Riwerry - 24.12.2013, 16:57
Re: What way is better for that? - by Konstantinos - 24.12.2013, 17:00
Re: What way is better for that? - by Riwerry - 24.12.2013, 17:09
Re: What way is better for that? - by Konstantinos - 24.12.2013, 17:11
Re: What way is better for that? - by Riwerry - 24.12.2013, 17:14
Re: What way is better for that? - by HardRock - 24.12.2013, 17:17
Re: What way is better for that? - by Konstantinos - 24.12.2013, 17:20
Re: What way is better for that? - by Riwerry - 24.12.2013, 17:20

Forum Jump:


Users browsing this thread: 4 Guest(s)