Why do my enums not save properly
#10

This would only work if player with ID 0 is an admin, considering that you've made a public declaration for the variable "ID" as "new ID" without actually giving it a value so its default value will be 0.

If what I assumed isn't true then show me what's ID used for and how does it get the value it has.
Alternatively change the "ID" to "playerid", test the command and tell me what happens.
Reply


Messages In This Thread
Why do my enums not save properly - by Scripter12345 - 24.04.2012, 01:43
Re: Why do my enums not save properly - by iRage - 24.04.2012, 01:52
Re: Why do my enums not save properly - by Scripter12345 - 24.04.2012, 02:03
Re: Why do my enums not save properly - by iRage - 24.04.2012, 02:08
Re: Why do my enums not save properly - by Scripter12345 - 24.04.2012, 02:15
Re: Why do my enums not save properly - by [ABK]Antonio - 24.04.2012, 02:21
Re: Why do my enums not save properly - by Scripter12345 - 24.04.2012, 02:24
Re: Why do my enums not save properly - by iRage - 24.04.2012, 02:28
Re: Why do my enums not save properly - by Scripter12345 - 24.04.2012, 02:29
Re: Why do my enums not save properly - by iRage - 24.04.2012, 02:54

Forum Jump:


Users browsing this thread: 2 Guest(s)