[HELP] Simple question
#2

Код:
 %s = string
Код:
 %d = numeric
How to use:
pawn Код:
new string[128],string2[128]; new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name,sizeof(name));
format(string2,sizeof(string2),"Your ID is: %d",playerid); // Your playerid
format(string,sizeof(string),"Your name is: %s",name); // Player name is a string
SendClientMessage(playerid, color, string);
SendClientMessage(playerid, color, string2);
Reply


Messages In This Thread
[SOLVED] Simple question - by XxCozzaxX - 30.12.2010, 19:44
Re: [HELP] Simple question - by blackwave - 30.12.2010, 19:48
Re: [HELP] Simple question - by XxCozzaxX - 30.12.2010, 19:49
Re: [HELP] Simple question - by FreshDoubleX - 30.12.2010, 19:51
Re: [HELP] Simple question - by XxCozzaxX - 30.12.2010, 19:57
Re: [HELP] Simple question - by blackwave - 30.12.2010, 19:59
Re: [HELP] Simple question - by XxCozzaxX - 30.12.2010, 20:13
Re: [HELP] Simple question - by blackwave - 30.12.2010, 20:25
Re: [HELP] Simple question - by XxCozzaxX - 30.12.2010, 21:21

Forum Jump:


Users browsing this thread: 1 Guest(s)