SA-MP Forums Archive
OnPlayerText Problem.. - 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: OnPlayerText Problem.. (/showthread.php?tid=611849)



OnPlayerText Problem.. - JuzDoiT - 11.07.2016

hello i start today to ,, make my server but i got an problem when i chat in Game.. ,, text dont show.. please help me




Re: OnPlayerText Problem.. - Mencent - 11.07.2016

Hello!

Can you show us your "OnPlayerText" callback, please?


Re: OnPlayerText Problem.. - JuzDoiT - 11.07.2016

Else I Try It In return 0


Quote:

public OnPlayerText(playerid, text[])
{
return 1;
}




Re: OnPlayerText Problem.. - Mencent - 11.07.2016

Do you use filterscripts? If yes, look if there is return 0; in OnPlayerText.


Re: OnPlayerText Problem.. - JuzDoiT - 11.07.2016

i did Dont Work


Re: OnPlayerText Problem.. - vikoo - 11.07.2016

Deleted and sorry


Re: OnPlayerText Problem.. - Mencent - 11.07.2016

@vikoo:
He has not all the variables that you use. You can't send some code of your script. Think about that.

@JuzDoiT:
Do you not have filterscripts? Then take this code and send us the server.log.txt when you send a message in game.
PHP код:
public OnPlayerText(playerid,text[])
{
    
printf("playerid: %i - text: %s",playerid,text);
    return 
1;




Re: OnPlayerText Problem.. - WhiteGhost - 11.07.2016

Quote:
Originally Posted by vikoo
Посмотреть сообщение
try it
What is this?


Re: OnPlayerText Problem.. - vikoo - 11.07.2016

oh sorry iam just want help him


Re: OnPlayerText Problem.. - WhiteGhost - 11.07.2016

Quote:
Originally Posted by vikoo
Посмотреть сообщение
oh sorry iam just want help him
Do u know commenting without not knowing what your doing is against the rules.
I Think,Correct Me If Am Wrong.