16.07.2016, 16:52
I'm creating a gamemode is it possible to increase players run speed without forcing them to use a cleo?
// Get player's velocity
new Float:x, Float:y, Float:z;
GetPlayerVelocity(playerid, x, y, z);
// Add to current velocity
new Float:increment = 10.0;
x += increment;
y += increment;
z += increment;
// Set player's velocity to incremented velocity that we calculated
SetPlayerVelocity(playerid, x, y, z);