Ham_Item_Deploy
Right now I've got CurWeapon event in my plugin:
Spoiler
I want to remake it in Ham_Item_Deploy but have 1 question: as you see, I've got some IFs in my CurWeapon, so if during the round some of this vars changes, will the model change immediately too? I mean: player have knife in his hands, and something happens - will his model of the knife change immediately or only after he change his weapon? Really sorry for my English. =( |
Re: Ham_Item_Deploy
Where do you set these vars ?
|
Re: Ham_Item_Deploy
Client cmds and etc.
|
Re: Ham_Item_Deploy
Update the models manually when you change the variable values.
|
Re: Ham_Item_Deploy
How can I call this function manually if it has (weapon_ent) param?
I mean: public Ham_Item_Deploy_Post(weapon_ent) |
Re: Ham_Item_Deploy
Code:
|
Re: Ham_Item_Deploy
No, I already know how to get user index in this function.
I mean, when I have to call this function manually in my plugin, what I should write in ()? <...> Ham_Item_Deploy_Post(???)//calling function manually: write what? <...> |
Re: Ham_Item_Deploy
Sure you wan, but, I would use ExecuteHamB( Ham_Item_Deploy to tell others plugins you're deploying your weapon.
|
Re: Ham_Item_Deploy
PHP Code:
PHP Code:
|
Re: Ham_Item_Deploy
Thank you!
|
All times are GMT -4. The time now is 22:44. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.