OnPlayerText
#1

Hey i have a problem, i have a code so i can see my (id) while i am chatting, but if i type something i will get 2 messages.

http://imageshack.us/f/201/samp007wo.png/

And the code:
pawn Код:
public OnPlayerText(playerid, text[])
{
    new textstring[128];
    format(textstring, sizeof(textstring), "(%i) %s", playerid, text);
    SendPlayerMessageToAll(playerid, textstring);
    return 1;
}
Reply


Messages In This Thread
OnPlayerText - by MechaTech - 22.05.2012, 06:49
Re: OnPlayerText - by ReneG - 22.05.2012, 06:52
Re: OnPlayerText - by MechaTech - 22.05.2012, 14:54

Forum Jump:


Users browsing this thread: 1 Guest(s)