View Single Post
didoWEE
Senior Member
Join Date: Oct 2012
Location: Bulgaria
Old 04-10-2016 , 06:57   Re: Pro Become V.I.P. [re1.0.1]
Reply With Quote #3

Quote:
Originally Posted by HamletEagle View Post
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.
All considered - updated!
didoWEE is offline