Raised This Month: $ Target: $400
 0% 

Anyone Could Help?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
oxygen935
Veteran Member
Join Date: Jun 2012
Location: Athens, Greece
Old 02-19-2013 , 14:39   Re: Anyone Could Help?
Reply With Quote #7

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>

#define PLUGIN "Vip Model"
#define VERSION "1.0"
#define AUTHOR "OxYgEn"

#define VIP_FLAG ADMIN_LEVEL_H


public plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
RegisterHam(Ham_Spawn"player""player_spawn"1)
}

public 
plugin_precache
{
    
precache_model("models/player/gp_vip/gp_vip.mdl")
}

public 
player_spawn(id)
{
    if(
get_user_flags(id) & VIP_FLAG)
    {
        
client_cmd(index"model gp_vip"
    }

oxygen935 is offline
Send a message via Skype™ to oxygen935
 



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 21:38.


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