Level system with command unlocking - 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: Level system with command unlocking (
/showthread.php?tid=619212)
Level system with command unlocking -
princejeet1510 - 15.10.2016
As the title says I tried to search before posting but I've found nothing it could be either idk exact title for it or I'm retarded........
Now I want to get a script with which only certain level of players can access that command like something like "/nametagoff" only for players whose score is 8+....
Plzz help me out im new to scripting.....
Re: Level system with command unlocking -
Threshold - 15.10.2016
In the simplest example possible...
PHP код:
CMD:nametagoff(playerid, params[])
{
if(GetPlayerScore(playerid) < 8) return SendClientMessage(playerid, -1, "You can't use this. Go away.");
// Rest of code...
I suggest you do some study before attempting to make and/or host a SA-MP server of your own.
Re: Level system with command unlocking -
princejeet1510 - 15.10.2016
Sorry busy but I didnt mentioned anything for making a server or hosting like......stuff im just learning some stuff step by step and something simmilar come here....anyways thanks for your help.