Need a little help on player id.
#4

I tried putting this code at public OnPlayerText callback:

public OnPlayerText(playerid, text[])
{
new string[128];
format(string, sizeof(string), "[%d] %s",playerid,text);
SendPlayerMessageToAll(playerid,string);
return 0;
}

But when player is chatting, there are double messages like this

PlayerName[0]: hi
PlayerName: hi

One with id and another without id, the one with id is made by me. So i want to disable the one without id, but can't find its location.
Reply


Messages In This Thread
Need a little help on player id. - by iOxide - 17.11.2013, 15:41
Re: Need a little help on player id. - by Konstantinos - 17.11.2013, 15:43
Re: Need a little help on player id. - by knackworst - 17.11.2013, 15:45
Re: Need a little help on player id. - by iOxide - 17.11.2013, 15:52
Re: Need a little help on player id. - by SuperViper - 17.11.2013, 18:20
Re: Need a little help on player id. - by iOxide - 18.11.2013, 11:32

Forum Jump:


Users browsing this thread: 1 Guest(s)