Raised This Month: $128 Target: $400
 32% 

Replace admin skin weapons


Post New Thread Reply   
 
Thread Tools Display Modes
sir_PaBlo
Member
Join Date: Sep 2020
Location: Urmia
Old 11-20-2020 , 16:03   Re: Replace admin skin weapons
Reply With Quote #11

Quote:
Originally Posted by ho83 View Post
i don't know this is helpful or not but here : Ak
PHP Code:
#include <amxmodx> 
#include <amxmisc> 
#include <fakemeta> 

#define NEW_MODEL    "models/YoureFolder/v_ak47.mdl" 

public plugin_init( ) 

    
register_plugin"AK47 model""1.0""amxteam" ); 
    
register_event("CurWeapon""cdxw""be""1=1"); 


public 
plugin_precache()
{
    
precache_model(NEW_MODEL);
}
public 
cdxwid 

    if( 
has_all_flags(id"c" ) && get_user_weaponid ) == CSW_AK47 
    { 
        
set_pevidpev_viewmodel2NEW_MODEL ); 
    } 

M4a1
PHP Code:
#include <amxmodx> 
#include <amxmisc> 
#include <fakemeta> 

#define NEW_MODEL    "models/YoureFolder/v_m4a1.mdl" 

public plugin_init( ) 

    
register_plugin"M4A1 model""1.0""amxteam" ); 
    
register_event("CurWeapon""cdxw""be""1=1"); 


public 
plugin_precache()
{
    
precache_model(NEW_MODEL);
}
public 
cdxwid 

    if( 
has_all_flags(id"c" ) && get_user_weaponid ) == CSW_M4A1 
    { 
        
set_pevidpev_viewmodel2NEW_MODEL ); 
    } 

deagle:
PHP Code:
#include <amxmodx> 
#include <amxmisc> 
#include <fakemeta> 

#define NEW_MODEL    "models/yourefolder/v_deagle.mdl" 

public plugin_init( ) 

    
register_plugin"DEAGLE model""1.0""amxteam" ); 
    
register_event("CurWeapon""cdxw""be""1=1"); 


public 
plugin_precache()
{
    
precache_model(NEW_MODEL);
}
public 
cdxwid 

    if( 
has_all_flags(id"c" ) && get_user_weaponid ) == CSW_DEAGLE 
    { 
        
set_pevidpev_viewmodel2NEW_MODEL ); 
    } 


thank you
sir_PaBlo is offline
tarsisd2
Veteran Member
Join Date: Feb 2016
Location: brazil
Old 11-20-2020 , 17:41   Re: Replace admin skin weapons
Reply With Quote #12

Quote:
Originally Posted by amirwolf View Post
you dont need to use 3 or more plugins to change weapon model, the plugin on this link change all weapons and player skins you want
tarsisd2 is offline
Ninja uwu
Junior Member
Join Date: Oct 2020
Old 11-20-2020 , 22:06   Re: Replace admin skin weapons
Reply With Quote #13

tarsisd2 as giving the unique good solution, he say u all plugins of weapon models, only search
Ninja uwu is offline
Reply


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 08:09.


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