LegacyFuel
LegacyFuel copied to clipboard
Is it possible to Sync the Fuel with all drivers in car?
Is it possible if yes, how?
for every help i will pleased :)
Sorry for the bad English
Yeah, i did it in my version, you must re-create the fuel passing vars to server and letting the server side decide it
You mean with a Servercallback or how u do that?
Yeah, pass everything to server and let it manage the fuel level since actually it's in client-side and has a random number so nobody would have the same, the client should get the fuel level from server-side
Okay i'm too stupid for this every time i try my hole Speedometer Hud is broken...
I wouldn't recommend you to do it if you don't have a bit of knowledge honestly
A base of knowledge is there but my f... Hud is not reacting to the settings xD the Fuel state is undefined if i use the callback...
@sFxMTA it would be cool if you could share your fix lol :)
rt
Now I found out a way to sync the fuel with all the invehicle mates.
But.only Problem I can Not finish is: if anyone is inside the car but the diver or other mate sits in car, somebody is tanking, the fuel will be refreshed after exit. So my thoughts would be if the player gets in the driver seat the fuel should be shared to all mates. But how..
There is only one 'driver' in a vehicle, so what I assume you mean is that you want the passengers too to be aware of the fuel level?
Hello, This problem fixed ?
How i can Sync the fuel with the all players for each cars.
Because i have a script what the code is on client and i don't know pass the code for the server side.
Would be nice to have some kind of information here.