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



Chat Problem - TheSnaKe - 01.12.2013

Why when i delete this i can't type on chat? only admins can type on chat.

Quote:

}
public OnPlayerUpdate(playerid)
{
SetPlayerScore(playerid, GetPlayerMoney(playerid));
return 1;




Re: Chat Problem - SilentSoul - 01.12.2013

Can you show us your
pawn Код:
public OnPlayerText(playerid, text[])
I don't think when you remove this it will effect , that's only set the player score according to his amount of money.


Re: Chat Problem - TahaAsif12 - 01.12.2013

Can You Show The Code Around It?


Re: Chat Problem - TheSnaKe - 01.12.2013

I Can't find this
I don't have it on my GM, but it was working before so i don't know what happend
PHP код:
public OnPlayerText(playeridtext[]) 



Re: Chat Problem - SilentSoul - 01.12.2013

Ok , could you show us all codes around
pawn Код:
OnPlayerUpdate
?


Re: Chat Problem - TheSnaKe - 01.12.2013

Quote:
Originally Posted by SilentSoul
Посмотреть сообщение
Ok , could you show us all codes around
pawn Код:
OnPlayerUpdate
?
This is


PHP код:
}
public 
OnGameModeExit()
{
    return 
1;
}
public 
OnPlayerUpdate(playerid)
{
    
SetPlayerScore(playeridGetPlayerMoney(playerid));
    return 
1;
    
 }
public 
OnPlayerRequestClass(playeridclassid)
{
    
ApplyAnimation(playerid"ON_LOOKERS""wave_loop"4.010000); // Wave
    
SetPlayerCameraPos(playerid, -2383.9990,-581.5485,132.1172);
    
SetPlayerPos(playerid, -2378.4517,-577.8433,132.1117);
    
SetPlayerCameraLookAt(playerid, -2381.6833,-579.9197,132.1172);
    return 
1;




Re: Chat Problem - SilentSoul - 01.12.2013

Your script got no errors , however just try to paste this any where in your script you said you don't have it
pawn Код:
public OnPlayerText(playerid, text[])
{
    return 1;
}
And tell me if that still bugged please.


Re: Chat Problem - TheSnaKe - 01.12.2013

Quote:
Originally Posted by SilentSoul
Посмотреть сообщение
Your script got no errors , however just try to paste this any where in your script you said you don't have it
pawn Код:
public OnPlayerText(playerid, text[])
{
    return 1;
}
And tell me if that still bugged please.
Yeah is still bugged.


Re: Chat Problem - TheSnaKe - 01.12.2013

Anyone please can help me with this because i don't know where is the problem


Re: Chat Problem - bensmart469 - 01.12.2013

Are you using any filterscripts? They may be interfering.