AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Replace admin skin weapons (https://forums.alliedmods.net/showthread.php?t=328672)

sir_PaBlo 11-20-2020 12:29

Replace admin skin weapons
 
Hello
I need a plugin to replace the gun skin for admins
Can you help with that?

redivcram 11-20-2020 13:48

Re: Replace admin skin weapons
 
https://www.google.com/search?client...n+weapon+skins

ho83 11-20-2020 13:55

Re: Replace admin skin weapons
 
Hi.
What Weapons You Want? What Flag? Tell Me.

sir_PaBlo 11-20-2020 14:38

Re: Replace admin skin weapons
 
Quote:

Originally Posted by ho83 (Post 2725679)
Hi.
What Weapons You Want? What Flag? Tell Me.

ak47
m4a1
deagle

Flag all admins
for example:
ADMIN_KICK

redivcram 11-20-2020 14:41

Re: Replace admin skin weapons
 
How can you be so lazy to click on a few links and literally find it there and not be lazy enough to wait out for someone to do everything for you?

sir_PaBlo 11-20-2020 14:43

Re: Replace admin skin weapons
 
Quote:

Originally Posted by redivcram (Post 2725692)
How can you be so lazy to click on a few links and literally find it there and not be lazy enough to wait out for someone to do everything for you?

Lol
I searched a lot
I did not find what I was looking for, so I came here

amirwolf 11-20-2020 14:48

Re: Replace admin skin weapons
 
https://forums.alliedmods.net/showthread.php?t=250244

redivcram 11-20-2020 14:50

Re: Replace admin skin weapons
 
Quote:

Originally Posted by sir_PaBlo (Post 2725693)
Lol
I searched a lot
I did not find what I was looking for, so I came here


I gave you a link that literally contains your solution. More than one result actually. You can't be that lazy.

sir_PaBlo 11-20-2020 14:51

Re: Replace admin skin weapons
 
Quote:

Originally Posted by amirwolf (Post 2725694)

I searched a lot
I did not find what I was looking for, so I came here

ho83 11-20-2020 14:54

Re: Replace admin skin weapons
 
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 ); 
    } 




All times are GMT -4. The time now is 13:05.

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