18.02.2018, 04:54
Quote:
Код:
public OnPlayerWeaponShot( playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ ) { new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); if ((weaponid < 22 || weaponid > 38) || !(-20000.0 <= z <= 20000.0) || !(0 <= hittype <= 4) || !IsPlayerConnected(playerid)) { Ban(playerid); return 0; } return 1; } SetPVarInt(playerid,"BulletCrash",gettime() + 1); } return 1; } [/CODE] |