I was trying to make a command that changes a players status to PH or GM.
I know that when you use the ban command, it connects to the database and the player's log in type changes to 3, so i figured that i could use that as a base and work from it. So i thought of a little code: (doubt it's any good)
If (Splitter = "/gmstatus");
{Status == 8}
My problem is that I know the ban command connects to the database, the thing is that i dont know how. If i kew, then maybe i could finish my first ever code :D (even if it's just a simple command code)
Thanks.
I know that when you use the ban command, it connects to the database and the player's log in type changes to 3, so i figured that i could use that as a base and work from it. So i thought of a little code: (doubt it's any good)
If (Splitter = "/gmstatus");
{Status == 8}
My problem is that I know the ban command connects to the database, the thing is that i dont know how. If i kew, then maybe i could finish my first ever code :D (even if it's just a simple command code)
Thanks.