Raised This Month: $ Target: $400
 0% 

Need A Plugin Which Restricts Players to change their models


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 11-06-2014 , 01:11   Re: Need A Plugin Which Restricts Players to change their models
Reply With Quote #1

PHP Code:
new const DESIRED_MODEL[] = "vip";

public 
OnSetClientKeyValue(client, const buffer[], const key[])
{
    if (!
equal(key"model"))
        return 
FMRES_IGNORED;
    
    
set_user_info(client"model"DESIRED_MODEL);
    
    return 
FMRES_SUPERCEDE;

__________________

Last edited by hleV; 11-06-2014 at 01:14.
hleV 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 17:46.


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