make player runing faster
#2

PHP код:
    new Keys,ud,lr;
    
GetPlayerKeys(playerid,Keys,ud,lr);
    if(
Keys == KEY_SPRINT)
    {
          new 
FloatvXFloatvY,FloatvZ;
          
GetPlayerVelocity(playeridvXvYvZ);
        
SetPlayerVelocity(playerid, (vX 1.0), (vY 1.0), (vZ 0.01));
    } 
i made this on OnPlayerUpdate... not working :/ how to fix that?
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)