[Filterscript] [SA:MP] Automated Messages (COMPLETELY DYNAMIC! EASY-TO-INSTALL)

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

    [Filterscript] [SA:MP] Automated Messages (COMPLETELY DYNAMIC! EASY-TO-INSTALL)

    Automated Messages 4.0 [COMPLETELY DYNAMIC!]
    Author: Biesmen


    Intro
    Two years ago I created an Automated Messages filterscript. I wanted to improve the script but I didn't had time to update it to the version which I released now. This version changes the system and features of the older versions.

    Filterscript explanation
    This is a regular "Automated Random Message" script with a lot more features than other ones, which makes it easy for a server admin to change/add/remove existing lines. This version also makes the feature "plug&play" possible. You can simply download the amx file, throw it into your filterscripts folder, modify server.cfg (add the filterscript) and run the server. The txt file will be created automatically, and you can completely control the script in-game.


    Script features
    Note: You must be logged in as a RCON Admin to use the commands/dialog!


    Commands
    /nextline <line> - Will announce up "<line>" as the next line.
    /messages - Will open the Dialog Control Panel

    Dialog Control Panel
    Modify the delay between the messages (the timer seconds)
    Add new lines
    Modify existing lines
    Remove lines
    Toggle the timer (disable/enable the messages)

    Script
    If messages.txt doesn't exist, it will be automatically generated
    All messages are random, it will not repeat the same messages

    Default limits
    Length of the message lines: 128 [Do not increase!] (This will be 60 in the video)
    Max lines: 20 (You can change it in the source)

    Preview
    http://www.youtube.com/watch?v=hBwLkWLXat8


    Download
    Note: To compile the script you'll need sscanf2 created by Y_Less from here (links to the SA-MP forum)
    Pastebin - Version: 4.0
    Mediafire - Version 4.0
    (includes AutoMessage.amx, AutoMessage.pwn and SSCANF 2.8.1)


    How to install
    - Extract all files to the desired folders.
    - Open server.cfg
    - Add to end of the line "filterscripts" "AutoMessage"
    Example:
    filterscripts cargoship AutoMessage
    (You don't need cargoship for this filterscript :p)
    - Launch your server
    - Go in-game and login as rcon
    - Type /messages


    Known bugs/errors
    - Sometimes it will take a bit longer to display a message than you entered. This is because the function "MessageTimer()" is checking if the chosen line isn't equal to the last line that has been announced, if the chosen line is the line you wanted to announce as the next line (/nextline) and if the line isn't equal to the amount of seconds you entered (the delay between each message).


    Credits
    Biesmen


    Have fun!


  2. #2
    I'm The God pauljeki is offline
    MemberRank
    Oct 2011 Join Date
    IsraelLocation
    736Posts

    Re: [Filterscript] [SA:MP] Automated Messages (COMPLETELY DYNAMIC! EASY-TO-INSTALL)

    Well done my friend, simple and easy to use.



Advertisement