04.01.2010, 20:10
Hello all.
First of all, I just followed a tutorial to set up a /login and /register system.
For example dini_IntSet(file,"AdminLevel", 0); blahblah
I want to make a command for Players with the AdminLevel=3 or higher. I'm using a script I have made from scratch for learning experiences.
How would I make the command Check my character file's AdminLevel to use the command?
Thanks
I have this so far but I'm completly stuck.
if(strcmp(cmd, "/gmx", true) == 0)
{
dini_Get(file, "AdminLevel");
}
First of all, I just followed a tutorial to set up a /login and /register system.
For example dini_IntSet(file,"AdminLevel", 0); blahblah
I want to make a command for Players with the AdminLevel=3 or higher. I'm using a script I have made from scratch for learning experiences.
How would I make the command Check my character file's AdminLevel to use the command?
Thanks
I have this so far but I'm completly stuck.
if(strcmp(cmd, "/gmx", true) == 0)
{
dini_Get(file, "AdminLevel");
}