Skip to content

Instantly share code, notes, and snippets.

@Dronr
Last active August 29, 2015 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Dronr/6f8676be4b015504a370 to your computer and use it in GitHub Desktop.
Save Dronr/6f8676be4b015504a370 to your computer and use it in GitHub Desktop.
В OnPlayerWeaponShot
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
if (weaponid < 22 || weaponid > 38)
return 0;
if(!(-20000.0 <= z <= 20000.0))
return 0;
if(weaponid > 46) Kick(playerid);
if(!((22 <= weaponid <= 34) || weaponid == 38)) Kick(playerid);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment