[Release][SA-MP][FilterScript] Automated Message

Results 1 to 4 of 4
  1. #1
    01010010 01011010 Biesmen is offline
    Super ModRank
    Apr 2007 Join Date
    2,517Posts

    [Release][SA-MP][FilterScript] Automated Message

    Automated ClientMessage Filterscript 1.0
    Created by:
    Biesmen


    About
    As I am on my college now, I am bored. I have to create a webiste (Application Programmer education), but it is already finished. So I thought of creating something which could be useful for people who do not know how to make an automated dynamic client message system, or are too lazy to create one. The filterscript has no credits ingame, just when the server starts up. This client message system has a file called messages.txt in the scriptfiles folder. The script reads the first 10 lines (you can change this in the script) and stores them in an array. A timer will be set to send a random line to everyone's client. Unfortunately there is no color support yet, or you can change the file. You can change the variables ingame to send a different text, but it won't be saved in the messages.txt file. This will be made in version 2.0.

    Commands:
    /toggletimer - Toggles the timer. It can deactive the timer so no more messages will be send, but you can also activate it again with this command.
    /setline [line] [message] - Will modify the lines that will be sent to all players their client. However, this doesn't save the lines to messages.txt yet.
    /messagetime - Configure the time between each message that will be sent to everyone their client.
    How-to-use
    Download the file and extract the files to the correct folder. The folders are shown in the .rar file. You can also copy the pastebin URL and create messages.txt with atleast 10 lines in "/scriptfiles". An example of messages.txt:
    Quote Originally Posted by messages.txt
    This is line 1
    This is line 2
    This is line 3
    This is line 4
    This is line 5
    This is line 6
    This is line 7
    This is line 8
    This is line 9
    This is line 10
    You also need SSCANF 2 made by Y_Less to compile the script if you make any changes.
    Click here for sscanf 2.
    SSCANF 2 is already included in the .rar file.

    SAMP-SERVER.conf
    Add this text to the "filterscripts" line:
    AutoMessage
    Preview
    Automated Message Filterscript by Biesmen - YouTube

    Download
    Pastebin Version: 1.0
    Mediafire Version: 1.0

    No mirrors allowed because of security reasons. Ask me for a new mirror if needed

    Known bugs
    -

    Credits
    Biesmen
    Y_Less - sscanf2

    Feedback and critism allowed.

    Enjoy


  2. #2
    Enthusiast crater96 is offline
    MemberRank
    Sep 2011 Join Date
    49Posts

    Re: [Release][SA-MP][FilterScript] Automated Message

    oye men :D

  3. #3
    Valued Member Ensane is offline
    MemberRank
    May 2009 Join Date
    119Posts

    Re: [Release][SA-MP][FilterScript] Automated Message

    Very nice, however I like to store my automessages within a string, instead of in-game commands, but this is good for newbies.

  4. #4
    Member angelo91 is offline
    MemberRank
    Aug 2009 Join Date
    99Posts

    Re: [Release][SA-MP][FilterScript] Automated Message

    good :)



Advertisement