Thread: Map reporter
View Single Post
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 12-18-2006 , 17:13   Re: Admin Bad Map Reporter
Reply With Quote #6

Looks good.

For future reference, it's better practice to do this:

Code:
if(get_cvar_num("badmap_admins"))

rather than

Code:
if(get_cvar_num("badmap_admins") != 0)

and this:

Code:
if(!get_cvar_num("badmap_admins"))

rather than

Code:
if(get_cvar_num("badmap_admins") == 0)

Also, please use pcvars.

I'm going to approve this anyway since it appears to be good enough. Just use pcvars instead.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552