28.09.2011, 16:17
(
Последний раз редактировалось FireCat; 11.11.2012 в 17:59.
)
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:
The code is simple:
AddRandomMessage(Msgcolor,Msgtext[])
Go under OnGameModeInit, and for example do this:
You can add as many as you want but you just have to change this:
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
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.
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>
AddRandomMessage(Msgcolor,Msgtext[])
Go under OnGameModeInit, and for example do this:
pawn Код:
AddRandomMessage(red,"Herro :D");
pawn Код:
#define MAX_MESSAGES 50
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!!!
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.