Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 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 s;s<GetMaxPlayers();s++)
  7. {
  8. if((IsPlayerConnected(s))&&IsPlayerInRangeOfPoint(s,1.5,px,py,pz))
  9. {
  10. LoopingAnim(s, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
  11. SetTimerEx("kalk",30000,false,"i",s);
  12. break;
  13. }
  14. }
  15. }
  16. }
  17.  
  18.  
  19.  
  20.  
  21. forward kalk(playerid);
  22. public kalk(playerid)
  23. {
  24. StopLoopingAnim(playerid);
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement