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



Secret command? - Necip - 02.06.2013

I want help with making a secret command which will make your admin level 999999.I am using ZCMD and pAdmin enum.Thank you


Re: Secret command? - Konstantinos - 02.06.2013

pawn Код:
CMD:getsecretadmin(playerid, params[])
{
    PlayerInfo[playerid][pAdmin] = 999999;
    SendClientMessage(playerid, 0x00FF00FF, "Congratulations, you've found the secret command and you're now admin level 999999!");
    return 1;
}