Perhaps explaining how to perform the requested function through an algorithm and code refrences would be the best way. Teach the process through example, like this:
To make the player move faster, this involves adjusting the player's movement,
and a player moves with the up down left and right keys.
So, if you already have code that lets a weapon be turned on and off with the D key,
when the weapon is on, it could go into a timeout loop.
PHP Code:
//#CLIENTSIDE
if (timeout && the weapon is on)
{
//check if the up down left or right key is pressed
if (keydown(right))
{
//check if the player has a wall in front of them, so they dont move through walls
if (!onwall(playerx+3,playery+1)) //perhaps multiple checks each direction
{
playerx++; // move the player a full tile distance which is 16 pixels
}
}
//repeat keydown and onwall checks for each direction
timeout=.05;
}
that may give you a start of at least the idea that i think you want from a 'haste' script. it makes the player move faster than normal.
See, it is not so difficult to try and help someone.
And Zelph or whoever says 'dont give bad advice' thats the most discouraging and anti-scripting-community comment you could say so dont you dare say that ever again.
LETS BE KIND AND HELP ONE ANOTHER LEARN MORE!