Raised This Month: $ Target: $400
 0% 

Weapon model change


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-08-2011 , 16:29   Re: Weapon model change
Reply With Quote #3

Quote:
Originally Posted by egbertjan View Post
Please, any suggestions?
Don't bump until 2 weeks have passed since last post.

Also, try this:

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

#define m_pPlayer 41

public plugin_init()
    
RegisterHam(Ham_Item_Deploy"weapon_ak47""FwdAk47DeployPost"1);
    
    
public 
FwdAk47DeployPost(iWeapon)
{    
    new 
id get_pdata_cbase(iWeaponm_pPlayer4);
    
    if(
id && player_class[id] == Mage)
        
entity_set_string(idEV_SZ_viewmodelMAGICAK47);

__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!

Last edited by Exolent[jNr]; 04-08-2011 at 16:35.
Exolent[jNr] 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 20:11.


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