anti dialog hack
#2

Optional callbacks (to put in your GameMode)
Код:
public OnDialogSpoof(playerid, dialogid, SpooflessDialogs_dialogid)
{
    // What do you want to do with the cheater? Ban? Kick?
    return 0; // Prevent dialog spoof
}
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:

Код:
#include <YSI\y_hooks>
#include <nhooks>
#include <SpooflessDialogs> // Put this line before any includes that make use of dialogs
In all FilterScripts 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
Do you like it? Any suggestions?
Reply


Messages In This Thread
anti dialog hack - by MerryDeer - 03.02.2017, 08:34
Re: anti dialog hack - by SuperTramp - 06.02.2017, 12:03

Forum Jump:


Users browsing this thread: 1 Guest(s)