SA-MP Forums Archive
GetTickCount - 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: GetTickCount (/showthread.php?tid=368034)



GetTickCount - Kitten - 11.08.2012

Solved


Re: GetTickCount - Jefff - 11.08.2012

pawn Код:
if((GetTickCount() - Abilitys[playerid][HighJumpZombie]) < 6000) return GameTextForPlayer(playerid,"~b~ Still recovering",1000,5);
{
new Float:x,Float:y,Float:z;
GetPlayerVelocity(playerid,x,y,z);
SetPlayerVelocity(playerid,x,y*1.0,z+0.8* 1.1);
Abilitys[playerid][HighJumpZombie] = GetTickCount();
}