Raised This Month: $ Target: $400
 0% 

ShowSyncHudText in TF2


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
cidra
Junior Member
Join Date: Jun 2016
Location: Italy
Old 02-17-2017 , 03:17   Re: ShowSyncHudText in TF2
Reply With Quote #3

Quote:
Originally Posted by Chaosxk View Post
It sounds like you want to display a different message for each client (depending on what level they are at), not displaying more than 6 messages to 1 client at the same time.

If so just do

Code:
ShowSyncHudText(client, HUDHandle, "You are at level: %d", g_ClientLevel[client]);
Where g_ClientLevel is a global variable that holds what level that client is currently at, which you manually set.
It works! Thank you. Thought that I couldn't add variables in the string due to "const"
cidra 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 21:34.


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