[Include] Easy HelpBot/Random Messenger
#1

Information

I have seen lots of people make HelpBot scripts that are really big and messy and I was looking for one for my gamemode and I couldn't find one I really liked. So I thought I should make my own...

How this system works?

As you can see if you open the include there's a
pawn Код:
new RandomMessages[][]=
{
"Add Us To your favourites!",
"Read the /rules before playing",
"Type /wepbuy to buy weapons!",
"Type /help to know what to do."
//Leave last line without a comma
};
In there you put your text you want with the ""'s, below is an example of what you do with the starting publics
pawn Код:
//OnGameModeInit or OnFilterScriptInit
RandMessageInit();

//OnGameModeExit or OnFilterScriptExit
RandMessageExit();
That's pretty basic easy and cheesy heh?

Tweaks

In the include there's a #define Time for the time you want the text to show up and #define COLOUR for the choice of the colour.

Download:

(I've included a script for what you do if your using a GameMode or FilterScript)
Download link: www.rekillz.site90.com/randmessage
Reply


Messages In This Thread
Easy HelpBot the most effencent way to send messages! - by r3k1lLz_ - 05.01.2011, 05:43
Re: Easy HelpBot/Random Messenger - by Lookin - 05.01.2011, 07:01
Re: Easy HelpBot/Random Messenger - by Lorenc_ - 05.01.2011, 10:29
Re: Easy HelpBot/Random Messenger - by Dex007HLH - 05.01.2011, 16:53
Re: Easy HelpBot/Random Messenger - by r3k1lLz_ - 05.01.2011, 22:15
Re: Easy HelpBot/Random Messenger - by Kitten - 06.01.2011, 06:07
Re: Easy HelpBot/Random Messenger - by r3k1lLz_ - 07.01.2011, 06:31
Re: Easy HelpBot/Random Messenger - by r3k1lLz_ - 13.01.2011, 01:57
Re: Easy HelpBot/Random Messenger - by r3k1lLz_ - 16.01.2011, 07:29
Re: Easy HelpBot/Random Messenger - by Arastair - 27.11.2014, 15:03
Re: Easy HelpBot/Random Messenger - by N0FeaR - 05.11.2015, 06:14

Forum Jump:


Users browsing this thread: 2 Guest(s)