What way is better for that?
#5

Okay, and what I need to put to format for example format(string, sizeof(string), "Player name is %s", And what do I put here?

From this:

pawn Код:
#define GetName(%0) Player_Name[%0]

static
    Player_Name[MAX_PLAYERS][MAX_PLAYER_NAME];

public OnPlayerConnect(playerid)
{
    GetPlayerName(playerid, Player_Name[playerid], MAX_PLAYER_NAME);
    return 1;
}
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)