FORMAT [HELP]
#5

Quote:
Originally Posted by Youice
Посмотреть сообщение
okay, here is an example:
pawn Код:
new result[185], //185 is the limited of the string
name[MAX_PLAYER_NAME]; //defining whole the player's name

GetPlayerName(playerid, name, MAX_PLAYER_NAME); //now we are getting the player's name through that line

format(result, 185/*or sizeof(result) it's the same*/, "MyName: %s", name);
SendClientMessage(playerid, -1, result);
hope it helped
Yes it did thanks!
Reply


Messages In This Thread
FORMAT [HELP] - by Just1c3 - 26.08.2012, 11:19
Re: FORMAT [HELP] - by HuSs3n - 26.08.2012, 11:22
Re: FORMAT [HELP] - by Just1c3 - 26.08.2012, 11:26
Re: FORMAT [HELP] - by Youice - 26.08.2012, 11:38
Re: FORMAT [HELP] - by Just1c3 - 26.08.2012, 11:58

Forum Jump:


Users browsing this thread: 1 Guest(s)