[Include] Random Messages 1.0 Friendly user!
#1

Introduction
Hello, and yes another random messages script!
But this one is easier!
With just 1 function you can add random messages easly in your server!
What's the difference then?
Just go in your script, and do this:
pawn Код:
#include <RandomMessages>
The code is simple:
AddRandomMessage(Msgcolor,Msgtext[])
Go under OnGameModeInit, and for example do this:
pawn Код:
AddRandomMessage(red,"Herro :D");
You can add as many as you want but you just have to change this:
pawn Код:
#define MAX_MESSAGES     50
By default, it's 50 but feel free to add more if you want (:
Aswell the timer delay is 60 seconds aka 1 minute.
You can change it if you want by doing this
pawn Код:
#define MESSAGE_DELAY TIME HERE IN SECONDS!!!
Else it's 1 minute (:
Pictures?

Bugs
None!
Feel free to pm me, or post it here if you find any!

Download
No credits in it (:
5 min job so the credits can go to you if you want :b
Pastebin 2.0: http://pastebin.com/RBLyD5Aj
2.0: Fixed a thing, thanks to the stalking hiddos.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)