Level system with command unlocking
#1

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.....
Reply
#2

In the simplest example possible...
PHP код:
CMD:nametagoff(playeridparams[])
{
    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.
Reply
#3

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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)