Raised This Month: $ Target: $400
 0% 

[DoD:S] How to Display "WarmUp" Text


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
bobbobbaobab
New Member
Join Date: Oct 2024
Old 10-28-2024 , 12:30   [DoD:S] How to Display "WarmUp" Text
Reply With Quote #1

In Day of Defeat:Source game , when you type "mp_restartwarmup 1" in console, some text will show up on the left side of the screen,which says "WarmUp Mode" and "Game will restart in 0:00".

but I don't know how to display text like this. I've tried the following code , it didn't work, the error is: Couldn't dispatch user message (20)

new Handle:hBuffer = StartMessageOne("KeyHintText", client);
BfWriteByte(hBuffer, 1);
BfWriteString(hBuffer,"Hello World");
EndMessage();

wish someone could teach me how to do it, thanks!
Attached Thumbnails
Click image for larger version

Name:	Snipaste_2024-10-28_23-02-53(1).jpg
Views:	91
Size:	24.6 KB
ID:	206130  
bobbobbaobab is offline
 


Thread Tools
Display Modes

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 04:36.


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