Raised This Month: $ Target: $400
 0% 

Motd doesn't show all the text


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 02-13-2016 , 13:30   Re: Motd doesn't show all the text
Reply With Quote #9

Quote:
Originally Posted by fysiks View Post
An MOTD like this can only be 1536 characters so your maximum array size is actually 1537.

Anything longer needs to be an external URL.
It's just what Fysiks said. You need an external URL (http://example.com) if you want to display more text. Sending a local file from server is just AMXX's little addition to make it easier for users. show_motd() doesn't send a file, it just reads file's contents and sends them over network message, so you are stuck with 1536 limit anyway.
klippy 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 09:30.


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