Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(newkeys & KEY_FIRE)
- {
- if(GetPlayerWeapon(playerid) == 3)
- {
- new Float:px,Float:py,Float:pz;
- for(new s;s<GetMaxPlayers();s++)
- {
- if((IsPlayerConnected(s))&&IsPlayerInRangeOfPoint(s,1.5,px,py,pz))
- {
- LoopingAnim(s, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
- SetTimerEx("kalk",30000,false,"i",s);
- break;
- }
- }
- }
- }
- forward kalk(playerid);
- public kalk(playerid)
- {
- StopLoopingAnim(playerid);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement