17.01.2018, 16:58
Something like..
PHP код:
if(amount > weapon_max_damage[weaponid]+2.5 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
if(weaponid == 0 && !(55.12 <= amount <= 53.12)) {
SCMF(playerid, -1, "You were kicked for dmg cheats (%.2f) with %s.", amount, wname);
KickEx(playerid);
return 0;
}
}