SA-MP Forums Archive
Speedometer/fuel system bug - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Speedometer/fuel system bug (/showthread.php?tid=257661)



Speedometer/fuel system bug - House - 27.05.2011

Good morning all,

I hope you can help me.

I have been rescripting my old 0.1b game mode to the current 0.3c version.
I managed to restore the whole game mode, and all commands work as it suposed to do.

But i have one problem ..

The speedometer/fuel system is bugged :-O

The moment you get in a vehicle, the speedometer display is not working correctly.
The Speedometer should display: line 1: MPH, Line 2: Vehicle name, Line 3: Location where you are driving.

The moment you get in a vehicle: it does display the MPH correctly, but the location,veh. name/location is not visible.
It displays only some triangles and otehr uncommon text.

Now im wondering if this a regular script version bug in converting the speedometer text.

And maybe its very easy to fix this with a cunstom forward line?
Hope you can help me,

Regards House.


Re: Speedometer/fuel system bug - Lorenc_ - 27.05.2011

Pawno code can help your situation out, i quite didn't understand what you need to fix, as far as i know you want to have the speedo meter fixed after converting from 0.1b.

I would suggest deleting all of the speedometer and perhaps rewrite it or just copy the nowadays speedometer methods used.


Re: Speedometer/fuel system bug - (SF)Noobanatior - 27.05.2011

you most likely better off using the getplayerspeed function now native to 0.3c


Re: Speedometer/fuel system bug - Steve M. - 27.05.2011

@(SF)Noobanatior: GetPlayerSpeed() function isn't native in 0.3c.

@OnTopic: Give us the code of your speedometer so we can fix it.


Re: Speedometer/fuel system bug - House - 27.05.2011

Hmm sry, i now figured out, that the speedometer is messed up with the fuel system ...
Thats the reason the speedo display is bugged i think ..

Nice job to delete both the fuel and speedo from my game mode xD
Awell, thanks ppl


Re: Speedometer/fuel system bug - (SF)Noobanatior - 27.05.2011

my bad getplayervelocity


Re: Speedometer/fuel system bug - House - 27.05.2011

Fixed !

Ty for your help all