Posts: 6,242
Threads: 8
Joined: Jun 2008
Quote:
Originally Posted by MicroKyrr
Well i change something.
PHP код:
public OnPlayerUpdate(playerid)
{
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
{
new Float:VPOS[3];
GetPlayerVelocity(playerid, VPOS[0], VPOS[1], VPOS[2]);
SetPlayerVelocity(playerid, VPOS[0]-0.5, VPOS[1]-0.5, VPOS[2]-0.5);
}
return 1;
}
"-" means subtract. Also i almost change the whole code
|
So errmmm, what happens when we stand still? :S