Raised This Month: $ Target: $400
 0% 

CurWeapon


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
- Billy The Kid -
Member
Join Date: Oct 2006
Old 12-26-2006 , 16:50   CurWeapon
Reply With Quote #1

Few questions, regarding this... I've searched and didn't seem to find answers

1) What actually is CurWeapon, I realise that this message is called when weapon changes, and that contains which weapon is switched to?
2) What would blocking of this message do? I would like to block CurWeapon message to test something... I'm also interested in a way to delay this message. I've tried to block with this code:

Code:
public plugin_init() {
    register_message(get_user_msgid("CurWeapon"), "block")
}
 
public block(msg_id, msg_dest, entity) {
    return PLUGIN_HANDLED
}
Either it didn't block or I'm not aware it is blocked. Everything in-game seems to be regular during weapon change while plug-in is active, and no error is present in server console.
__________________
- Billy The Kid - is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 12-26-2006 , 16:55   Re: CurWeapon
Reply With Quote #2

It updates the display in the bottom right corner. So, it's called when weapon changes, and when you shoot.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
- Billy The Kid -
Member
Join Date: Oct 2006
Old 12-26-2006 , 18:12   Re: CurWeapon
Reply With Quote #3

Brief answer to most of questions, 2 sentences, karma up
__________________
- Billy The Kid - 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 22:26.


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