SA-MP Forums Archive
About on player text - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: About on player text (/showthread.php?tid=500387)



About on player text - DemME - 12.03.2014

Im gonna begin a RP mode, so I just typed a new on player text

PHP код:
public OnPlayerText(playeridtext[])
{
    new 
message[128];
    
format(messagesizeof(message), "[ID:%d] %s says: %s",playeridGetName(playerid), text);
    
ProxDetector(30.0playeridmessage, -1);
    return 
0;

everything is okay, but why does it types in-game twice ( white color and the player's name color ).