AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How can I create notifications like these in cs 1.6? (https://forums.alliedmods.net/showthread.php?t=319655)

Watermelonnable 11-13-2019 01:23

How can I create notifications like these in cs 1.6?
 
Hello. I've seen these kind of notifications in a couple of servers now and I would like to create something similar. What are those? Any helpful link?

Check te video: https://www.youtube.com/watch?v=lkUrdx56mus at the following timestamps in the upper right corner:

0:28
0:29
0:30
0:31

Rohanlogs 11-13-2019 02:20

Re: How can I create notifications like these in cs 1.6?
 
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 (Post 2434345)
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.

Watermelonnable 11-13-2019 10:13

Re: How can I create notifications like these in cs 1.6?
 
Quote:

Originally Posted by Rohanlogs (Post 2672782)
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):



If you're trying to do this in csgo, I think they removed it.

Hey, thank you! Yes I posted in the wrong section. How can I move it to where it belongs?

And did you test it? doesn't motd's appear as a black window in the center of the screen?

DarkDeviL 11-14-2019 07:41

Re: How can I create notifications like these in cs 1.6?
 
Quote:

Originally Posted by Watermelonnable (Post 2672823)
Yes I posted in the wrong section. How can I move it to where it belongs?

You can't, but you can according to the AlliedModders Rules report both your own threads, as well as other people's threads, to signal to the right people that you believe it should be moved elsewhere:

Code:

If you post (or see a post) in the wrong section, use the Report Post button to request it be moved rather than replying to the thread.

Your thread has been moved to the AMX "Scripting Help" forum now.

OciXCrom 11-14-2019 08:02

Re: How can I create notifications like these in cs 1.6?
 
They're called tutor messages. Due to dumb copyright rules, you're not allowed to use them in CS 1.6, even though you may be able to find couple of plugins that do the job here.

Watermelonnable 11-14-2019 17:46

Re: How can I create notifications like these in cs 1.6?
 
Quote:

Originally Posted by OciXCrom (Post 2672902)
They're called tutor messages. Due to dumb copyright rules, you're not allowed to use them in CS 1.6, even though you may be able to find couple of plugins that do the job here.

Thanks man. This is what I was looking for!


All times are GMT -4. The time now is 19:26.

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