[share info] message stocks
1 Attachment(s)
four useful message what I'm using. correct me if I wrong, thx.
Code:
stock SendMsg_SayText2(target, color, const String:szMsg[], any:...) |
Re: [share info] message stocks
Good stocks! Once we figure out a good way for cross-mod compatibility we'll have a few of these as natives.
|
Re: [share info] message stocks
What makes it not cross-mod compatibile right now?
|
Re: [share info] message stocks
HintText looks like something CS:S only. Similarly, CS:S text messages have their own encoding additions.
|
Re: [share info] message stocks
HintText is in the SDK and should work on most mods unless they've changed/disabled it.
I have noticed that in DODS I need to change the first WriteByte (using UTIL_HudHintText as an example) or it prints a funny character. The comment says "// one string" for 1, but I send a space instead. So that may be another example of the encoding additions (unless I'm doing something wrong). |
Re: [share info] message stocks
Hmm, maybe it doesn't even need a byte before the string.
|
Re: [share info] message stocks
If you mean by the encoding additions the \x03, \x04, etc. then maybe color should just be removed from the param of the stock?
Edit: Nevermind, didn't realise color was the player index. |
Re: [share info] message stocks
The stocks was tested in CSS only.
|
All times are GMT -4. The time now is 04:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.