Base SA-MP OnPlayerText
#2

return 0 on the OnPlayerText, you can add your own stuff there. Direct example from wiki.
PHP код:
public OnPlayerText(playeridtext[])
{
    new 
pText[144];
    
format(pTextsizeof (pText), "(%d) %s"playeridtext);
    
SendPlayerMessageToAll(playeridpText);
    return 
0// ignore the default text and send the custom one

Reply


Messages In This Thread
Base SA-MP OnPlayerText - by IzadorO - 03.12.2015, 22:31
Re: Base SA-MP OnPlayerText - by CmZxC - 03.12.2015, 22:35

Forum Jump:


Users browsing this thread: 1 Guest(s)