Raised This Month: $ Target: $400
 0% 

CurWeapon


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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