[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


Messages In This Thread
HelpBox - Stop flood in Chatbox ! - by Wallegi - 21.10.2014, 20:11
Respuesta: HelpBox - Stop flood in Chatbox ! - by JustBored - 21.10.2014, 20:18
Re : HelpBox - Stop flood in Chatbox ! - by Wallegi - 21.10.2014, 20:38
Re: HelpBox - Stop flood in Chatbox ! - by IDarkness - 22.10.2014, 00:19
Re: HelpBox - Stop flood in Chatbox ! - by TakeiT - 22.10.2014, 00:25
Re: HelpBox - Stop flood in Chatbox ! - by Crayder - 22.10.2014, 02:26

Forum Jump:


Users browsing this thread: 1 Guest(s)