anti dialog hack
#1

Hi,

There is hack that player can prevent from dialog showen, how to check if dialog was show but player with cheat off and don't get dialog window?
Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)