Increasing player run/sprint speed? Possible?
#1

pawn Код:
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT && SpeedSet[playerid] == 1)
    {
        new Float: Xs, Float: Ys, Float: Zs;
        GetPlayerVelocity(playerid, Xs, Ys, Zs);
        SetPlayerVelocity(playerid, Xs*1.2, Ys*1.2, Zs);
    }
This is what I have so far, It doesn't seem to work that well. I'm not sure if there's a better way or I've done this wrong.

Any help would be kind.
Reply
#2

Where did you add these functions?
Reply
#3

OnPlayerUpdate
Reply
#4

Bump
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)