How to add player name or id to this.
#2

You need to use format():

pawn Код:
new szString[128], pName[MAX_PLAYER_NAME+1];
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
format(szString, sizeof(szString), "Army member %s is now on duty, please ask him to help you.", pName);
SendClientMessageToAll(0xEF0A00, szString);
Reply


Messages In This Thread
How to add player name or id to this. - by Gangster-rocks - 01.06.2012, 09:56
Re: How to add player name or id to this. - by MP2 - 01.06.2012, 09:58
Re: How to add player name or id to this. - by Sandiel - 01.06.2012, 12:05
Respuesta: How to add player name or id to this. - by Chris1337 - 01.06.2012, 14:16
Re: How to add player name or id to this. - by pasha97 - 01.06.2012, 14:18

Forum Jump:


Users browsing this thread: 2 Guest(s)