13.02.2011, 20:22
Hey,
I have some problem. I'm turned on timer ( SetTimerEx for playerid ) with 1second interval ( repeating ) and doing this callback
But, my speed is slowing down, it seems like it's not working. I have puted prints, everything seems good - printing.
Thanks for answers.
I have some problem. I'm turned on timer ( SetTimerEx for playerid ) with 1second interval ( repeating ) and doing this callback
Код:
public AutoPilot(playerid) { new Float:velocity[3]; new const vehicleid = GetPlayerVehicleID(playerid); GetVehicleVelocity(vehicleid,velocity[0],velocity[1],velocity[2]); SetVehicleVelocity(vehicleid,velocity[0],velocity[1],velocity[2]); }
Thanks for answers.