View Single Post
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 04-10-2016 , 06:48   Re: Pro Become V.I.P. [re1.0.1]
Reply With Quote #2

PHP Code:
    if(!is_user_connected(id))
        return 
HAM_IGNORED;
    if(!
is_user_alive(id))
        return 
HAM_IGNORED
For your information, only is_user_alive is needed, as it does all the other checks.
Also, name max len is 32, not 33. Also in UpdateData read_flags should be cached.
In vformat charsmax should be used for getting string array size.

I am not sure what to do with this. Considering plugin purpose and ignoring the code, does something like this worth to be approved? I have to think.
__________________
HamletEagle is offline