SA-MP Forums Archive
Super jump - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Super jump (/showthread.php?tid=459910)



Super jump - Cocolini - 25.08.2013

Hello i need help im searching on super jump system for zombies. But the command u can use every 3 or 4 seconds.
Please help me


Re: Super jump - doreto - 25.08.2013

I won't go and search it for you because you are lazy but i will tell you how to make it yourself

1.in OnPlayerStateChange check if player press shift(or any other key you want)
2.check if time passed from last time used jump and if passed and player is in zombi team SetPlayerVelocity z hight
3 store last time used jump from gettime() (no need for timers)


Re: Super jump - Cocolini - 25.08.2013

Man i searched it.. and dont found it.


Re: Super jump - xganyx - 25.08.2013

pawn Код:
CMD:sjump(playerid,params[])
{
    SetPlayerVelocity(playerid,0.0,0.0,0.3);
    return 1;
}