Raised This Month: $51 Target: $400
 12% 

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 , 15: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 , 16: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
Member
Join Date: Oct 2020
Old 11-20-2020 , 21: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
nomiss
New Member
Join Date: Dec 2020
Old 12-24-2020 , 22:20   Re: Replace admin skin weapons
Reply With Quote #14

Soo perfect, soo simple.

I was looking for the years for something like this.

Just asking myself, can you edit it, so I can add p_deagle.mdl?
nomiss 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:19.


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