Easy HelpBot the most effencent way to send messages! -
r3k1lLz_ - 05.01.2011
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
Re: Easy HelpBot/Random Messenger -
Lookin - 05.01.2011
lol i made one and i came out messy i even gave up xD
Re: Easy HelpBot/Random Messenger -
Lorenc_ - 05.01.2011
Cool filterscript, simple and easy but useful for newbies, noting that there are like heaps of stuff like this around, should change the next decision on your release. Else yea, cool!
Re: Easy HelpBot/Random Messenger -
Dex007HLH - 05.01.2011
Lol cool , i love it!
Re: Easy HelpBot/Random Messenger -
r3k1lLz_ - 05.01.2011
Thanks, I really made it so people could do it basically in an .inc and their code isn't messy.
Re: Easy HelpBot/Random Messenger -
Kitten - 06.01.2011
Nice,
Simple and useful for the newbies out there.
Re: Easy HelpBot/Random Messenger -
r3k1lLz_ - 07.01.2011
Quote:
Originally Posted by Lorenc_
should change the next decision on your release. Else yea, cool!
|
What do you mean should change the next decision on your release?
And thanks everyone for the support
Re: Easy HelpBot/Random Messenger -
r3k1lLz_ - 13.01.2011
lol oops accidently posted
Re: Easy HelpBot/Random Messenger -
r3k1lLz_ - 16.01.2011
Next version has an NPC nearly done making
Re: Easy HelpBot/Random Messenger -
Arastair - 27.11.2014
So simple, nice
Re: Easy HelpBot/Random Messenger -
N0FeaR - 05.11.2015
Good job!