Raised This Month: $ Target: $400
 0% 

[SOLVED]change weapon model


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-07-2009 , 15:15   Re: change weapon model
Reply With Quote #4

PHP Code:
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>

#define m_pPlayer    41

new const CUSTOM_KNIFE_MODEL[] =  "models/v_knife_r.mdl"

public plugin_precache()
{
    
precache_model(CUSTOM_KNIFE_MODEL)
}

public 
plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)

    
RegisterHam(Ham_Item_Deploy"weapon_knife""Knife_Deploy"1)
}

public 
Knife_DeployiKnife )
{
    new 
id get_pdata_cbase(iKnifem_pPlayer4)
    
set_pev(idpev_viewmodel2CUSTOM_KNIFE_MODEL)

__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 02:23.


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