06.02.2017, 12:03
Optional callbacks (to put in your GameMode)
You need to have the includes y_hooks (you can extract everything to your includes folder) and nhooks for this include to work!
Download
In your GameMode:
In all FilterScripts that make use of dialogs:
Do you like it? Any suggestions?
Код:
public OnDialogSpoof(playerid, dialogid, SpooflessDialogs_dialogid) { // What do you want to do with the cheater? Ban? Kick? return 0; // Prevent dialog spoof }
Download
In your GameMode:
Код:
#include <YSI\y_hooks> #include <nhooks> #include <SpooflessDialogs> // Put this line before any includes that make use of dialogs
Код:
#define FILTERSCRIPT #include <YSI\y_hooks> #include <nhooks> #include <SpooflessDialogs> // Put this line before any includes that make use of dialogs