[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
#2

lol i made one and i came out messy i even gave up xD
Reply
#3

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!
Reply
#4

Lol cool , i love it!
Reply
#5

Thanks, I really made it so people could do it basically in an .inc and their code isn't messy.
Reply
#6

Nice,
Simple and useful for the newbies out there.
Reply
#7

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
Reply
#8

lol oops accidently posted
Reply
#9

Next version has an NPC nearly done making
Reply
#10

So simple, nice
Reply
#11

Good job!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)