|
Originally Posted by RogueDrifter
Bud, you need to make sure the capital case is correct okay, its an include NOT a filterscript,
1- Download the include 2- Put it in pawno/includes 3- Open your gamemode 4- Put on TOP before anything #define ManualUse 5- Put under #include <a_samp> use #include <AntiCarTroll> 6- Use the callback at your gamemode 7- Include the same file in all of your filterscripts to link the hooked functions to the gamemode. EDIT: The cheat you mentioned in the video is already detected in my include so use it and you'll be fine, you don't even have to use the callback it can do the kick/ban for you, just read my main post carefully and you'll understand everything. |
#include <a_samp>
#include <AntiCarTroll>
#include <YSI\y_commands>
#include <YSI\y_master>
#include <YSI\y_iterate>
#include <YSI\y_timers>
#include <OPBA>
#include <fly>
#include <a_mysql>
#include <sscanf2>
#include <streamer>
#include <timestamptodate>
#include <geolocation>
//Defines///////////////////////////////////////
#define ManualUse
....
public OnPlayerCarTroll(playerid,vehicleid, trolledid, trolltype)
{
return 1;
}
#include <a_samp>
#define ManualUse
#include <AntiCarTroll>
#include <YSI\y_commands>
#include <YSI\y_master>
#include <YSI\y_iterate>
#include <YSI\y_timers>
#include <OPBA>
#include <fly>
#include <a_mysql>
#include <sscanf2>
#include <streamer>
#include <timestamptodate>
#include <geolocation>
....
public OnPlayerCarTroll(playerid,vehicleid, trolledid, trolltype)
{
return 1;
}