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



Cmd - REVO-RP - 04.02.2013

I need a code for a cmd that only level 10 admins can set a admin's name then when they /aduty their name is ex. Jay if the admin wants his admin name like that i tried before but i failed terrible


Re: Cmd - Gamer_007 - 04.02.2013

for setting name cmd

pawn Код:
if(PInfo[playerid][Level] == 10)
{
//setname stuff
}
else return SendClientMessage(playerid,COLOR,"ERROR:You are not at high enough level to use this command");
}
And i didnt understand wht u said in the next line.I dont get it.Try to explain more better