[HELP]getting admin level from INI_File - 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: [HELP]getting admin level from INI_File (
/showthread.php?tid=594718)
[HELP]getting admin level from INI_File -
Luca12 - 22.11.2015
Hello I made a command /addadmin when I type /addadmin name_admin level it creates file like
Luca_Johnson and inside that file is level = 1338 okay
but when I want to check when player enter server and if someone else set my level in that file and then I enter in server I will get message your admin level is changed your are nov admin: %d so how can I get that level
like
new level = INI_Int("Level"); or if you know what I mean? Thanks
and also is there a function for y_ini like yini_remove or I use fremove(File);
Re: [HELP]getting admin level from INI_File -
Yashas - 22.11.2015
The INI_Int function is now obsolete.
You must use the dynamic loading method which y_ini provides to get the contents of the file or switch to another INI processor which allows you to do that.