Raised This Month: $ Target: $400
 0% 

[ SOLVED ] Change weapon v_ and p_ mdl with Ham?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 11-25-2015 , 13:45   Re: [ HELP ] Change weapon v_ and p_ mdl with Ham?
Reply With Quote #1

Edit:

Quote:
Originally Posted by yokomo View Post
Hooking CurWeapon to set custom models is bad, it call too much, use Ham_Item_Deploy is better.

Changes all models


Code taken from ZP.

If you don't want to use loop for all weapon, then you can register 1 by 1.

PHP Code:
RegisterHam(Ham_Item_Deploy"weapon_knife""OnItemDeployPost"1)
RegisterHam(Ham_Item_Deploy"weapon_ak47""OnItemDeployPost"1
Thank
__________________









Last edited by CrazY.; 11-25-2015 at 13:46.
CrazY. is offline
Reply



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 17:55.


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