Posts: 1,767
Threads: 124
Joined: Mar 2010
Quote:
Originally Posted by iZN
pawn Код:
/* With GetTickCount */
new pJumpInterval[MAX_PLAYERS];
new Var_ = GetTickCount(); if(GetPlayerSkin(playerid) == 150 && pJumpInterval[playerid] > Var_) { if(newkeys & KEY_JUMP) { pJumpInterval[playerid] = GetTickCount() + 10000; new Float:SuperJump[3]; GetPlayerVelocity(playerid, SuperJump[0], SuperJump[1], SuperJump[2]); SetPlayerVelocity(playerid, SuperJump[0], SuperJump[1], SuperJump[2]+10); } }
|
"Hey! I am falling in the air straight to the ground and I'm gonna die! Actually.. why not press KEY_JUMP when I'm gonna be close enough to the ground to avoid killing myself!"
Solution:
MapAndreas.