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
#2

Your OnPlayerText return is return to 1
return it to 0
Reply
#3

ty imma try
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)