Change this:
Code:
return PLUGIN_HANDLED
To this:
Since you are dealing with hamsandwich
AND
Change this:
Code:
if(is_user_alive(id) && get_user_flags(id) & VIP1_FLAG)
to this:
Code:
if (is_user_alive(id) && (get_user_flags(id) & VIP1_FLAG))
Because bitsum values are checked first
Btw nice plugin
It would be better if you add more features and indent it properly
__________________