14.05.2017, 17:53
Also ; a simple anti cheat :
PHP Code:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
// ===================== FAKE DATA SEND ===================== //
if(!(0 <= hittype <= 4) || !IsPlayerConnected(playerid))
{
// ur code
return 0;
}
// ==================================================== //
// ===================== BULLET CRASHER ===================== //
if(!(22 <= weaponid <= 34 || weaponid == 38))
{
// ur code
return 0;
}

