30.04.2012, 17:48
retira isto.
pawn Код:
#define PRESSED(%0) \
(((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
if((PRESSED(KEY_UP) || PRESSED(KEY_DOWN) || PRESSED(KEY_LEFT) || PRESSED(KEY_RIGHT) && !(IsPlayerInAnyVehicle(playerid))))
{
new Float:x; new Float:y; new Float:z;
GetPlayerVelocity(playerid, x, y, z);
SetPlayerVelocity(playerid, x+7.5, y+7.5, z+7.5);
}