Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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)
- {
- return 0;
- Kick(playerid);
- }
- if(!(-20000.0 <= x <= 20000.0) || !(-20000.0 <= y <= 20000.0) || !(-20000.0 <= z <= 20000.0))
- {
- return 0;
- Kick(playerid);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement