Raised This Month: $ Target: $400
 0% 

[solved]when is current weapon changed but event curweapon not called?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Owyn
Veteran Member
Join Date: Nov 2007
Old 01-30-2010 , 11:04   [solved]when is current weapon changed but event curweapon not called?
Reply With Quote #1

just wondering
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 01-30-2010 , 14:10   Re: when is current weapon changed but event curweapon not called?
Reply With Quote #2

any time you change weapons curweapon will be called
__________________
Bugsy is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-30-2010 , 14:11   Re: when is current weapon changed but event curweapon not called?
Reply With Quote #3

Quote:
Originally Posted by Owyn View Post
just wondering
If you are looking for hook a weapon deploy, use Ham_Item_Deploy, it will be called one time.
__________________
Arkshine is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 01-30-2010 , 16:52   Re: when is current weapon changed but event curweapon not called?
Reply With Quote #4

so Ham_Item_Deploy will be called only and everytime when user got new weapon in the hand?

*no i was looking if curweapon may fail cuz i'm trying to find the error
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-30-2010 , 17:01   Re: when is current weapon changed but event curweapon not called?
Reply With Quote #5

Yes.

For CurWeapon, i can't remember when it is not called, i think it's when you reload, and then shot, but when you change weapon it should always be called.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 01-31-2010 , 04:21   Re: when is current weapon changed but event curweapon not called?
Reply With Quote #6

is there a way to register ham deploy for everything without a loop for all weapons?
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-31-2010 , 05:58   Re: when is current weapon changed but event curweapon not called?
Reply With Quote #7

no.
__________________
Arkshine 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 07:19.


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