22.02.2011, 12:25
How to how to detect nitro hackers?
Example:
Example:
pawn Код:
//This is working if you add nitro in Transfender.
//Buy if you hack nitro, it is not working
// :S
dcmd_check(playerid, params[])
{
#pragma unused params
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xFF0000FF, "You is not in any vehicle");
{
new vehicleid;
vehicleid = GetPlayerVehicleID(playerid);
if(GetVehicleComponentInSlot(vehicleid, GetVehicleComponentType(1010)) == 1010)
{
SendClientMessage(playerid, 0xFF0000FF, "This vehicle has nitro");
SendClientMessage(playerid, 0xFF0000FF, "You banned urself for nos hacking");
BanEx(playerid, "Nos Hacker");
return 1;
}
else
{
SendClientMessage(playerid, 0xFF0000FF, "This vehicle dont have nitro");
return 1;
}
}
}