Doubling saying in chat
#1

Код:
 
public OnPlayerText(playerid, text[]) <<<<<<<< where this script iz implemented

	new string[128];
	if(strlen(PlayerInfo[playerid][pAccent])) format(string, sizeof(string), "%s says: [%s Accent] %s", RPN(playerid), PlayerInfo[playerid][pAccent], text);
	else format(string, sizeof(string), "%s says: %s", pname(playerid), text);
	SendNearbyMessage(playerid, 10, string, COLOR_FADE1, COLOR_FADE2, COLOR_FADE3, COLOR_FADE4, COLOR_FADE5);
When i talk in chat i see it twice
Reply


Messages In This Thread
Doubling saying in chat - by trapstar2020 - 15.09.2012, 00:55
Re: Doubling saying in chat - by JaKe Elite - 15.09.2012, 01:02
Re: Doubling saying in chat - by trapstar2020 - 15.09.2012, 01:04

Forum Jump:


Users browsing this thread: 1 Guest(s)