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 , 09:23   [ SOLVED ] Change weapon v_ and p_ mdl with Ham?
Reply With Quote #1

Hey Modders, how to change weapon v_ and p_ model with Ham_Item_Deploy?
__________________









Last edited by CrazY.; 11-25-2015 at 13:47.
CrazY. is offline
Chihuahuax
Senior Member
Join Date: Oct 2014
Location: Malaysia
Old 11-25-2015 , 10:40   Re: [ HELP ] Change weapon v_ and p_ mdl with Ham?
Reply With Quote #2

You will get tons of results if u search
Chihuahuax is offline
Send a message via Skype™ to Chihuahuax
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 11-25-2015 , 11:08   Re: [ HELP ] Change weapon v_ and p_ mdl with Ham?
Reply With Quote #3

[sarcasm]Our you helped me a lot, thank you [/sarcasm]
__________________








CrazY. is offline
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 11-25-2015 , 11:51   Re: [ HELP ] Change weapon v_ and p_ mdl with Ham?
Reply With Quote #4

[notsarcasm] Search before posting :stupidfoximage: [/notsarcasm]

But seriously, there are hundreds of threads opened for this kind of topic.
redivcram is offline
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 #5

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
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 11-25-2015 , 22:33   Re: [ SOLVED ] Change weapon v_ and p_ mdl with Ham?
Reply With Quote #6

Nice sharing.
zmd94 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:54.


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