MAX_PLAYERS and MAX_PLAYER_NAME
#4

Quote:
Originally Posted by Seven_of_Nine
Посмотреть сообщение
Thanks but can you write down an explained example?
Yeah sure

pawn Код:
if(!strcmp(cmdtext,"/myname",true))
{
    new Playername[MAX_PLAYER_NAME];
    GetPlayerName(playerid,Playername,sizeof(Playername));
    SendClientMessage(playerid,-1,Playername);
    return 1;
}
This just writes the players name.

Other example comes later.
Reply


Messages In This Thread
MAX_PLAYERS and MAX_PLAYER_NAME - by Seven_of_Nine - 11.04.2011, 16:23
Re: MAX_PLAYERS and MAX_PLAYER_NAME - by Jochemd - 11.04.2011, 16:24
Re: MAX_PLAYERS and MAX_PLAYER_NAME - by Seven_of_Nine - 11.04.2011, 16:28
Re: MAX_PLAYERS and MAX_PLAYER_NAME - by Jochemd - 11.04.2011, 16:31
Re: MAX_PLAYERS and MAX_PLAYER_NAME - by Alby Fire - 11.04.2011, 16:40
Re: MAX_PLAYERS and MAX_PLAYER_NAME - by Jochemd - 11.04.2011, 17:10
Re: MAX_PLAYERS and MAX_PLAYER_NAME - by Seven_of_Nine - 11.04.2011, 18:12
Re: MAX_PLAYERS and MAX_PLAYER_NAME - by Jochemd - 11.04.2011, 18:17
Re: MAX_PLAYERS and MAX_PLAYER_NAME - by Seven_of_Nine - 11.04.2011, 18:19
Re: MAX_PLAYERS and MAX_PLAYER_NAME - by Seven_of_Nine - 11.04.2011, 18:33

Forum Jump:


Users browsing this thread: 1 Guest(s)