SA-MP Forums Archive
їHow to create admin cmds and ranks? - 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: їHow to create admin cmds and ranks? (/showthread.php?tid=622409)



їHow to create admin cmds and ranks? - MrTostada - 21.11.2016

Hello, I just asked how you can create the ranges and commands for administrators, I already have the variable admin (6 ranges).


Re: їHow to create admin cmds and ranks? - Dorito - 22.11.2016

--DELETE--


Respuesta: їHow to create admin cmds and ranks? - BrianFaria - 22.11.2016

Do not believe double post, I answered in the Spanish post.

double post spanish

Code:
CMD:prueba(playerid,params[])
{
    if(Variable < 0)/*The range to use the command*/ return SendClientMessage(playerid,0xFF0000C8,"* You do not have permission.");
	return 1;
}