Raised This Month: $ Target: $400
 0% 

How can I create notifications like these in cs 1.6?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Rohanlogs
Senior Member
Join Date: Nov 2015
Old 11-13-2019 , 02:20   Re: How can I create notifications like these in cs 1.6?
Reply With Quote #2

Hey. Are you trying to create these in 1.6 or with Sourcemod since you posted in the Sourcemod section?
That's a motd window, you can display it to a client with some simple html code (in 1.6):

Quote:
Originally Posted by KliPPy View Post
Something like this?
PHP Code:
new szBuffer[1536];

new 
iLen formatex(szBuffercharsmax(szBuffer), "<html><head><title>My MOTD</title></head><body>");
iLen += formatex(szBuffer[iLen], charsmax(szBuffer) - iLen"<p>Paragraph! Yay!</p><br/>");
iLen += formatex(szBuffer[iLen], charsmax(szBuffer) - iLen"<div>DIV! WOAAH!</div>");
iLen += formatex(szBuffer[iLen], charsmax(szBuffer) - iLen"</body></html>");

show_motd(idszBuffer); 
If you're trying to do this in csgo, I think they removed it.
__________________
Rohanlogs 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 02:44.


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