Chat text is not working - Help needed
#1

i got this code:

Код:
	if (PlayerInfo[playerid][pReborn] == 0)
	{
  		new sendername[MAX_PLAYER_NAME];
  		new string[128];
		GetPlayerName(playerid, sendername, sizeof(sendername));
		format(string, sizeof(string), "%s [%d]: %s", sendername,playerid, text);
		SendPlayerMessageToAll(playerid, string);
	}
but then it comes out as....

Код:
Mowgli: Mowgli[0]: test
so all of '%s [%d]: %s' is what i am saying... how do i fix this? so its

Код:
Mowgli[0]: test
Reply


Messages In This Thread
Chat text is not working - Help needed - by Mowgli - 20.06.2009, 15:35
Re: Chat text is not working - Help needed - by Grim_ - 20.06.2009, 16:06
Re: Chat text is not working - Help needed - by Correlli - 20.06.2009, 16:08
Re: Chat text is not working - Help needed - by Grim_ - 20.06.2009, 16:09
Re: Chat text is not working - Help needed - by Joe Staff - 20.06.2009, 16:11
Re: Chat text is not working - Help needed - by Correlli - 20.06.2009, 16:13
Re: Chat text is not working - Help needed - by Mowgli - 20.06.2009, 16:19
Re: Chat text is not working - Help needed - by Correlli - 20.06.2009, 16:24
Re: Chat text is not working - Help needed - by Joe Staff - 20.06.2009, 16:25
Re: Chat text is not working - Help needed - by Mowgli - 20.06.2009, 16:33

Forum Jump:


Users browsing this thread: 1 Guest(s)