[FilterScript] Moving TextDraw MOTD
#1

Moving Textdraw Message Of The Day

Introduction:

Hi all...
I don't know why, but today i feel so bored. So i decided to create something that interesting. Basically, this is just an ordinary MOTD. But i think that i can make something that more creative, and interesting. I don't really good on english and on story telling. So, let's take a look. Enjoy...

Changelog:

Quote:

R3: (16/06/2014)
  • Fixed some bug
  • Changed the saving mode into MySQL
R2: (08/06/2014)
  • Added MOTD saving system using dini
R1: (08/06/2014)
  • Initial release
Requirement:
  • MySQL >> credit to BlueG (for the R3 ONLY!!!)(REMEMBER!!! USE THE R38!!!)
  • dini >> credit to DracoBlue
  • sscanf2 >> credit to ******
  • zcmd >> credit to Zeex
Configuration:

R1

You can change the motd by editing this line

pawn Код:
new MOTDText[128] = "This is Message of the Day (You don't say?). Change me! Remember! The maximum size of this MOTD is only 128!"; //Remember! just edit the quoted text!
R2

There is two ways to edit the MOTD

First way:

Edit the MOTD.ini file on the scriptfiles folder. (You need to restart the server to load the MOTD)

Second way:
  1. Login into rcon administrator.
  2. Then use this command
    Код:
    /setmotd [MOTD ID] [New MOTD]
    Example
    Код:
    /setmotd 1 This is MOTD. Hell yeah
R3

There is two ways to edit the MOTD

First way:

Edit the databse file on your MySQL server. (You need to restart the server to load the MOTD)

Second way:
  1. Login into rcon administrator.
  2. Then use this command
    Код:
    /setmotd [MOTD ID] [New MOTD]
    Example
    Код:
    /setmotd 1 This is MOTD. Hell yeah
Credits:
  • SA-MP Team > For the SAMP
  • AiRaLoKa > For the whole script
  • ****** > For the sscanf2
  • Zeex > For the zcmd
  • DracoBlue > dini
  • BlueG > MySQL
Screenshots:






Donwload:

R3: (RECOMENDED)
Solidfiles
No other mirror for a while

R2: (RECOMENDED)
Solidfiles
Pastebin

R1:
Solidfiles
Pastebin

Thank's for reading!
Reply
#2

Aw Cool
+rep'ed
Reply
#3

Quote:
Originally Posted by Raza2013
Посмотреть сообщение
Aw Cool
+rep'ed
thank's
Reply
#4

nice
Reply
#5

Quote:
Originally Posted by Team_PRO
Посмотреть сообщение
nice
thank's Team_PRO
Reply
#6

Sweet and KewL.
Reply
#7

Quote:
Originally Posted by SAMProductions
Посмотреть сообщение
Sweet and KewL.
thanks
Reply
#8

Nice very cool.
Reply
#9

its really cool
Reply
#10

Nice
Reply
#11

thank's all
Reply
#12

[UPDATE]

look at the first post!
Reply
#13

Nice job +rep
Reply
#14

dini? So old fashioned?
Reply
#15

Quote:
Originally Posted by Mckarlis
Посмотреть сообщение
Nice job +rep
thanks

Quote:
Originally Posted by UnknownOwner
Посмотреть сообщение
dini? So old fashioned?
Yeah, i know it. I want to make the MySQL version buat i think it's useless and waste of time...
why should i use MySQL for only MOTD? the size of mysql plugin is f*cking bigger then this FS
Reply
#16

Nice One !
Reply
#17

Quote:
Originally Posted by Simoer
Посмотреть сообщение
Nice One !
thank's
Reply
#18

Make next version with : Pinfo , /setmotd [ in game and atleast admin level 3 to set motd].
Reply
#19

Quote:
Originally Posted by Tuntun
Посмотреть сообщение
Make next version with : Pinfo , /setmotd [ in game and atleast admin level 3 to set motd].
How can he do that? Everyone's script has their own variables regarding their admin system. It can only be done for RCON admins if it's in a filterscript, seriously, you should have atleast scripting knowledge if you're gonna reply like that.
Reply
#20

Quote:
Originally Posted by BenJackster
Посмотреть сообщение
How can he do that? Everyone's script has their own variables regarding their admin system. It can only be done for RCON admins if it's in a filterscript, seriously, you should have atleast scripting knowledge if you're gonna reply like that.
Yeah, Ben is true...
if you want to do that, just edit it by yourself... it's easy to do
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)