Req - 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: Req (
/showthread.php?tid=642859)
Req -
SubGames - 08.10.2017
I Want to Add Score Limit to Chat on my server, 20 Score Limit to Chat or PM, How Can i do so!
Plz Help and tell if this is the right section, I don't know where to demand things!
Re: Req -
Mister0 - 08.10.2017
if I get understand right
Код:
if(GetPlayerScore(playerid)>20) return SendclientMessage(playerid,-1,"Your level is to high");
Just add this on your command or where you need to put your restriction
Re: Req -
Mr.Vince™ - 08.10.2017
Quote:
Originally Posted by SubGames
Plz Help and tell if this is the right section, I don't know where to demand things!
|
Yes You Are On Right Section..
Re: Req -
FreAkeD - 08.10.2017
@Mister0 I think he means that if a players score is under 20, he shouldn't be able to use the chat.
https://sampwiki.blast.hk/wiki/Control_Structures#Operators
https://sampwiki.blast.hk/wiki/GetPlayerScore
https://sampwiki.blast.hk/wiki/OnPlayerText
Re: Req -
Mr.Vince™ - 08.10.2017
He means When a player newly regsiter on a server he needs 20 score to talk and pm