Huh ? - 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: Huh ? (
/showthread.php?tid=397202)
Huh ? -
x96664 - 03.12.2012
How to disable chatting for non-registered players in my server ?
Re: Huh ? -
Feastahashi - 03.12.2012
Depends the script, but I may give you the thought:
PS: put it on the OnPlayerText callback
Код:
if(PlayerNotRegistered[playerid] == true) return 0;
Re: Huh ? -
NeroX98 - 03.12.2012
if you are using GodFather gamemode there is one (fuction or i dont know how to say) gPlayerLogged
and you'll make
if(gPlayerLogged == 0)
{
SendClientMessage..."You can't speak... BLA BLA"
}
IF you are not using godfather search for similar funciton