Raised This Month: $ Target: $400
 0% 

Get netname of message


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 06-08-2007 , 15:12   Re: Get netname of message
Reply With Quote #5

Quote:
MessageBegin (Concuss "78") (Destination "One<1>") (Args "1") (Entity "1") (Classname "player") (Netname "hlstriker") (Origin "0.000000 0.000000 0.000000")
L 06/08/2007 - 15:053: Arg 1 (Byte "99")
L 06/08/2007 - 15:053: MessageEnd (Concuss "78")
This message will keep displaying until Arg 1s Byte is 0. The byte is the amount of "Dizziness" you have when you get conced on TFC.

This works to get the players id with register_event. Would I be able to do something like that with register_message?
Code:
public plugin_init() {     register_event("Concuss", "function", "b"); } public function(id) {     // id is the player with the message }

Edit: Are there tags for amxx code besides the [ small][ /small]?
hlstriker 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 10:41.


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