Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. if(newkeys & KEY_FIRE)
  2. {
  3. if(GetPlayerWeapon(playerid) == 3)
  4. {
  5. new Float:px,Float:py,Float:pz;
  6. for(new i;i<GetMaxPlayers();i++)
  7. {
  8. if((IsPlayerConnected(i))&&IsPlayerInRangeOfPoint(i,1.5,px,py,pz))
  9. {
  10. LoopingAnim(i, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
  11. break;
  12. }
  13. }
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement