make player runing faster
#1

hello, i make a zombies mode and i want zombies to run faster then other players.
i already used UsePlayerPedAnims();
and i made this code:

PHP код:
    if(HOLDING(KEY_SPRINT))
     {
        new 
FloatvXFloatvY,FloatvZ;
        
GetPlayerVelocity(playeridvXvYvZ);
        
SetPlayerVelocity(playerid, (vX 2.5), (vY 2.5), (vZ 1.01));
    } 
and when i jump and press sprint key, its working. on foot it isn't working.
there is an other way to make a fast runing for some players? please help me i really need this!!
Reply


Messages In This Thread
make player runing faster - by tomsalmon - 12.08.2013, 12:54
Re: make player runing faster - by tomsalmon - 12.08.2013, 13:32
Re: make player runing faster - by tomsalmon - 12.08.2013, 13:43
Re: make player runing faster - by tomsalmon - 12.08.2013, 15:45

Forum Jump:


Users browsing this thread: 1 Guest(s)