[HELP] Better way for Unlimited Clip?
Is there any better way to make weapons have unlimited clip other than curWeapon?
For example Ham Primary Attack or set_task? or anything better? |
Re: [HELP] Better way for Unlimited Clip?
What is wrong with CurWeapon?
|
Re: [HELP] Better way for Unlimited Clip?
i just dont want to call it every often :P
for example i have 10 extra weapons in game using curweapon both for unlimited clip and for setting model i managed to set model using ham deploy, but for unlimited clip i dont know :P maybe primary attack and set_task would work better? Or maybe by creating an API for it would be better? so cur weapon would be called only once instead of 10? |
Re: [HELP] Better way for Unlimited Clip?
If you hook primary attack, it will repeatedly fire the callback even if you arent actually firing. Just use CurWeapon.
|
Re: [HELP] Better way for Unlimited Clip?
what about an api? so curweapon function will be called once not 10 times?
|
Re: [HELP] Better way for Unlimited Clip?
What is your concern? Wouldn't you have the same issue if you changed from CurWeapon to something else? Either way, something is getting called a lot.
|
Re: [HELP] Better way for Unlimited Clip?
okay, so i will keep curweapon for unlimited clip then thx :)
|
Re: [HELP] Better way for Unlimited Clip?
Yokomo's idea:
PHP Code:
|
Re: [HELP] Better way for Unlimited Clip?
How often are you firing your CurWeapon callback? You can set it to only fire when the clip is empty like this:
PHP Code:
|
Re: [HELP] Better way for Unlimited Clip?
Bugsy. could you please create an api for it? :) like set_user_uclip(id, true/false) ?
|
| All times are GMT -4. The time now is 18:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.