Stereo, that code you provided will work if the player *only* has kick access and nothing else, since you're comparing them directly.
The usage in the code is good:
Code:
get_user_flags(id) & ADMIN_KICK
That checks if user has kick access in his list of flags.
But the rest of code... well, resethud shouldn't be used for this, also cs_set_user_model() can get crashes... it's complicated... but I think there's a plugin that allows you to set models for individual people or admin groups verry efficiently... search for it.
__________________