12.08.2013, 12:54
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:
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!!
i already used UsePlayerPedAnims();
and i made this code:
PHP код:
if(HOLDING(KEY_SPRINT))
{
new Float: vX, Float: vY,Float: vZ;
GetPlayerVelocity(playerid, vX, vY, vZ);
SetPlayerVelocity(playerid, (vX * 2.5), (vY * 2.5), (vZ * 1.01));
}
there is an other way to make a fast runing for some players? please help me i really need this!!