Advertisement
Guest User

Untitled

a guest
Jun 14th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
  2. {
  3. if(IsPlayerAdmin(playerid))
  4. {
  5. if(hittype == BULLET_HIT_TYPE_VEHICLE)
  6. {
  7. DestroyVehicle(hitid);
  8. return 1;
  9. }
  10. }
  11. return 1;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement