Raised This Month: $ Target: $400
 0% 

How to set weapon skin?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 05-03-2012 , 08:55   Re: How to set weapon skin?
Reply With Quote #4

Quote:
Originally Posted by Bilal Pro View Post
quick example:

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <fakemeta>

#define PLUGIN "Knifes skin"
#define VERSION "1.0"
#define AUTHOR "Bilal"

new knife[] = "models/v_knife.mdl"// put ur models name here.
new knife2[] = "models/p_knife.mdl"// put ur models name here.

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("say /test""test")
}

public 
plugin_precache()
{
    
precache_model(knife)
    
precache_model(knife2)
}

public 
test(id)
{
    
set_pev(idpev_viewmodel2knife)
    
set_pev(idpev_weaponmodel2knife2)
    
client_print(idprint_chat"You succesfully switched ur knife")

he means the skin not a model.
there are inside of the model skins and submodels/bodyparts.

Well, actually i would like to know too.
.Dare Devil. is offline
 



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 00:25.


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