29.01.2010, 08:48
Use
and use '==' instead of '='
so:
you should also SET the value Locked to true somewhere (or to false if you want to unlock the server)
Edit:
I'm also amazed you didn't get any error ><
Код:
enum SERVER_LOCKED { new bool:locked, }
so:
Код:
if(ServerCfg[Locked] == true)
Edit:
I'm also amazed you didn't get any error ><