message_begin (Sending a message)
Hello, and I'm getting unsuccessful results with this code (to try to send a mod-specific HUD message)
Code:
message_begin( MSG_ONE, 13, {0,0,0}, 1 );And 1 is me (when I'm alone on my own server) Anyone know what I'm doing wrong? |
Re: message_begin (Sending a message)
Try:
Code:
Also, check the syntax for the sending of SayText. I looked it up and it looks like you've got it all wrong since it's not #13: http://wiki.alliedmods.net/Half-Life...Events#SayText Parameter 1 is the sender id, and I don't think 0 works (it might, dunno). If it's for a specific mod, though, it's possible it is #13. Either way, it's bad to hard code messages like that. |
| All times are GMT -4. The time now is 10:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.