#5

Код:
public OnPlayerText(playerid, text[])
{
	new string[500];
	new name[50];
	new IP[50];
	GetPlayerName(playerid,name,sizeof(name));
	GetPlayerIp(playerid,IP,sizeof(IP));
	format(string,sizeof(string),"[%s]%s[%d]: %s",IP,name,playerid,text);
	SendClientMessageToAll(GetPlayerColor(playerid),string);
	return 0;
}
@SkizzoTrick - %d is not used for IP's.

@xRyder - The post you made was just useless.
Reply


Messages In This Thread
Chat - by Admigo - 10.05.2011, 19:46
Re: Chat - by Nexotronix - 10.05.2011, 20:02
Re: Chat - by SkizzoTrick - 10.05.2011, 20:03
Re: Chat - by xRyder - 10.05.2011, 20:07
Re: Chat - by coole210 - 10.05.2011, 20:14
Re: Chat - by SkizzoTrick - 10.05.2011, 20:16
Re: Chat - by Admigo - 10.05.2011, 20:19
Re: Chat - by SkizzoTrick - 10.05.2011, 20:20
Re: Chat - by Admigo - 10.05.2011, 20:26
Re: Chat - by SkizzoTrick - 10.05.2011, 20:27

Forum Jump:


Users browsing this thread: 1 Guest(s)