Raised This Month: $51 Target: $400
 12% 

Re : [MOTD message appearance in the middle of the game]


Post New Thread Reply   
 
Thread Tools Display Modes
lolness
Member
Join Date: Aug 2012
Old 08-13-2012 , 16:04   Re: Re : [MOTD message appearance in the middle of the game]
Reply With Quote #11

In short, you can't have two MOTDs in a server, right ?
lolness is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-13-2012 , 18:44   Re: Re : [MOTD message appearance in the middle of the game]
Reply With Quote #12

Quote:
Originally Posted by lolness View Post
In short, you can't have two MOTDs in a server, right ?
You can show as many MOTDs as you want but you can't show them at the same time nor can you stop someone from just closing it.
__________________
fysiks is offline
lolness
Member
Join Date: Aug 2012
Old 08-14-2012 , 05:43   Re: Re : [MOTD message appearance in the middle of the game]
Reply With Quote #13

I don't want them to show up at the same time. I want it to show up, after 5-6 seconds after a player joins my server.
Possible ??

Last edited by lolness; 08-14-2012 at 05:43.
lolness is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-14-2012 , 07:23   Re: Re : [MOTD message appearance in the middle of the game]
Reply With Quote #14

PHP Code:
#include <amxmodx>

public client_putinserver(id)
    
set_task(6.0"showMOTD"id);

public 
showMOTD(id)
    
show_motd(id"motd.txt"); 
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
lolness
Member
Join Date: Aug 2012
Old 08-14-2012 , 12:21   Re: Re : [MOTD message appearance in the middle of the game]
Reply With Quote #15

hmm, so wat shud i do wid dis ??
wer should i put it ??

sorry,im noob nd new
lolness is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-14-2012 , 12:22   Re: Re : [MOTD message appearance in the middle of the game]
Reply With Quote #16

You compile it and then install it into your server like you would any other plugin
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
lolness
Member
Join Date: Aug 2012
Old 08-14-2012 , 12:23   Re: Re : [MOTD message appearance in the middle of the game]
Reply With Quote #17

ok nd wat bout the motd image??
hw shud i make a 2nd motd image??
lolness is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-14-2012 , 12:26   Re: Re : [MOTD message appearance in the middle of the game]
Reply With Quote #18

In the plugin, replace "motd.txt" with what you want displayed
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
lolness
Member
Join Date: Aug 2012
Old 08-14-2012 , 12:27   Re: Re : [MOTD message appearance in the middle of the game]
Reply With Quote #19

ok ty.

last thing,wher shud i keep the image, to display in dat motd image???
in the cstrike folder???

Last edited by lolness; 08-14-2012 at 14:17.
lolness is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-14-2012 , 19:16   Re: Re : [MOTD message appearance in the middle of the game]
Reply With Quote #20

Images must be stored on a public webserver. IIRC.
__________________
fysiks is offline
Reply



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 16:49.


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