Raised This Month: $ Target: $400
 0% 

Ham_item_deploy


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 05-22-2014 , 08:49   Re: Ham_item_deploy
Reply With Quote #1

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
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019

Last edited by yokomo; 05-22-2014 at 08:53.
yokomo 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