Raised This Month: $ Target: $400
 0% 

Changing models & skins


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 06-26-2012 , 17:31   Re: Changing models & skins
Reply With Quote #6

PHP Code:

new g_Model[ ] = "models/new/v_weapon.mdl"

public plugin_init( )
     
register_forwardFM_SetModel"_FM_SetModel" )

public 
_FM_SetModelentmodel[ ] )
{
     new 
id peventpev_owner )

     if( 
is_user_aliveid ) && equalimodel"models/v_myweapon.mdl" ) )
          
set_pevidpev_viewmodelg_Model 

Last edited by Backstabnoob; 06-26-2012 at 17:33.
Backstabnoob 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 06:16.


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