[HELP]getting admin level from INI_File
#1

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);
Reply
#2

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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)