Speedometer Update - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Speedometer Update (
/showthread.php?tid=450340)
Speedometer Update -
ShaneOvSina - 12.07.2013
How would i make my speedometer update Faster than every 1 second?
Will
+1 If Someone can help
Re: Speedometer Update -
JimmyCh - 12.07.2013
Add something OnPlayerUpdate because it updates like every 0.32 second as I know, should work there.
If you need help on how to put there, show me your codes, I'll help
Re: Speedometer Update -
ShaneOvSina - 12.07.2013
It's The H_Speedo That i'm using
If you still want i can give u the code
Re: Speedometer Update -
OpticKiller - 12.07.2013
Quote:
Originally Posted by ShaneOvSina
It's The H_Speedo That i'm using
If you still want i can give u the code
|
Try changing the timer etc,
Re: Speedometer Update -
JimmyCh - 12.07.2013
Anyway try to put it yourself OnPlayerUpdate, I gave you the way to do it, so try it out and tell us if it works with you
Re: Speedometer Update -
Gangster-rocks - 12.07.2013
You can edit your timer make the time like the following example
pawn Код:
SetTimer("speedoupdatefunction",0320,true);
But i didn't test it, it might be bugged.
Re: Speedometer Update -
RALL0 - 12.07.2013
Well you can try 100 miliseconds but be aware your gamemode can lag because of this.
Re: Speedometer Update -
ShaneOvSina - 12.07.2013
Its Changed the Timer, but a NRG Struggles to Reach 50 MPH.
I've set the timer from 1000 to 750 but the lower it goes, the slower the MPH/KMH will reach
Any Suggestions?
And i still want the speedo to change Fast
If That Makes sence
Re: Speedometer Update -
RALL0 - 12.07.2013
Try 100, I got my speedo timer on 100 and it's working smooth
Re: Speedometer Update -
ShaneOvSina - 12.07.2013
Still not working the way i wanted it to.