Raised This Month: $ Target: $400
 0% 

Wait


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Monster Truck
Member
Join Date: Jan 2012
Location: France
Old 01-23-2014 , 07:58   Wait
Reply With Quote #1

PHP Code:
/* Plugin Generated by Imag!ne for Advent`S Team */

#include < amxmodx >
#include < amxmisc >
#include < hamsandwich >
#include < cstrike >
#include < engine >
#include < fun >

new g_pCvarHealthAdmin;

public 
plugin_init( )
{
    
register_plugin"Op Admin" "2.0.1" "Imag!ne" );
    
RegisterHamHam_Spawn"player""Task"1);
    
g_pCvarHealthAdmin register_cvar"amx_health_admin" "130" );
}

public 
plugin_precache( )
{
    
precache_model("models/AdventSyn/v_deagle.mdl");
}

public 
Taskid )
{
    if( 
is_user_adminid ) &&  cs_get_user_teamid ) == CS_TEAM_CT )
    {    
        
set_task5.0"AdminPlusHandler"id);    
    }
}

public 
AdminPlusHandlerid )
{
    new 
vModel 56 ];
        
    
strip_user_weaponsid );
    
set_user_healthid get_pcvar_numg_pCvarHealthAdmin ) );
    
give_itemid"weapon_deagle" );
    
cs_set_user_bpammoid CSW_DEAGLE 250 );
    
formatvModel55"models/AdventSyn/v_deagle.mdl" );
        
    
entity_set_stringidEV_SZ_viewmodelvModel );


Last edited by Monster Truck; 01-25-2014 at 04:37.
Monster Truck is offline
 


Thread Tools
Display Modes

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 10:14.


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