Raised This Month: $ Target: $400
 0% 

Model Flag


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 08-09-2011 , 19:31   Re: Model Flag
Reply With Quote #1

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.
__________________
Hunter-Digital is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:20.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode