[Include] HelpBox - Stop flood in Chatbox !
#1

Hi !

Today, I share a simply include very usefull !

Credits:
Wallegi: Idea for include and creation
Papawy: Hook + upgrade
Matnix: Function fix_caracter

This include has six functions:
- SendHelpBoxMessage(playerid, color, text[]);
- SendAllHelpBoxMessage(color, text[]);
- ShowHelpBoxForPlayer(playerid);
- HideHelpBoxForPlayer(playerid);
- SetHideKeyForPlayer(playerid, key);
- SetHideKeyForAll(key);

A key is assigned in this include: the key Y (default). It can be changed later with the functions above, but there is no backup at a restart.
This key is for show/hide the HelpBox for the player.

This can be used to send help message rather than flood it the chatlog



(Sorry for my bad english, i'm french.)
Reply
#2

Can you show us an image about how is the messagebox?.
Reply
#3

Yeah

You can change the text color:

Reply
#4

Nice one rep4u
Reply
#5

Actually, that's a good idea. However, if it's spamming, you're gonna miss people's questions, so it's not a very good solution, that I can see. +1 for the effort though, it's great for things like sending info or debug messages
Reply
#6

Actually it's a pretty good idea I'd say... I might use this, I hardly ever use other people's work... REP4U
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)