#1

Hello Guys
Today im know Y_ini How To Save
im Done Making Admins in Saving But i Want Know How To Make For Admins Ranks And SetRanks Only For Rcon Login /
To i Searching i See Big Admins System And i Cant know to its Very Big
Quote:

INI_Int("Admins",PlayerInfo[playerid][pAdmins]);

please Help
Thanks
Reply
#2

Hello
INI_Int will load an integer of "Admins" value from file that you opened
If you save player stats on players disconnect so you save PlayerInfo[playerid][pAdmins] variable
Make a command with strcmp or zcmd (zcmd is easier) and set admin variable to the level that you want
For example
PlayerInfo[playerid][pAdmins] = 5;

Now playerid admin level is 5

Search for making commands tutorial in forum
And read samp wiki and pawnLang.Pdf if you don't know pawn
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)