New to INI and Enum
#1

So, I have the following script..
http://pastebin.com/LCXZsNcC

The only use of the INI file at the moment is to auto-spawn the player at their last known location, with their last known skin, and money amount. I have 2 errors.

1) The script is spawning the player in the correct spot, with the correct money, but when I spawn, I am frozen. The game is still going, but I can't move/look around.

2) As a test, I am sending a new "SendClientMessage" on login if the user's admin level > 1. Now, If I set my admin level to 1, no message appears, which is what should happen. However, if I set it to 2, 3, 4, 5, 6, 7 etc... it returns "Admin Level: 9" (with that weird double spacing)

Anyone have any ideas as to what the problem is? Again, it is probably something stupid, I am new to using INIs and enums. Also, if you see anything else that you think I could be doing in a better way, let me know, always looking for some good advice
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)