Quote:
Originally Posted by Mionee
I think I tried to make something like this before. Using OnPlayerKeyStateChange (Basically getting their position and setting them to it - aka not allowing the velocity increase was a method I found to work).
Try if this works (I think this is how the code should be):
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if(newkeys & KEY_JUMP) { new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); SetPlayerPos(playerid, x, y, z); } return 1; }
EDIT: You could've just asked me on Skype.
|
And Mionee saves the situation again ^-^ This is exactly and I mean EXACTLY what I was looking for. Thanks everyone :P