Mr.Bagge 0 Report post Posted October 12, 2018 Hello! my goal on my server is to make it hard to get fuel. I have lowered the fuel value for random spawned vehicles and reworked all the fuelstations to not have unlimited with fuel like it usually is. All I have left now is to be able to lower the fuel value upon purchasing a vehicle from the trader since they all spawn with 100% fuel. How and if possible, how? Any ideas? ^^ Share this post Link to post Share on other sites
StokesMagee 871 Report post Posted October 12, 2018 33 minutes ago, Mr.Bagge said: Hello! my goal on my server is to make it hard to get fuel. I have lowered the fuel value for random spawned vehicles and reworked all the fuelstations to not have unlimited with fuel like it usually is. All I have left now is to be able to lower the fuel value upon purchasing a vehicle from the trader since they all spawn with 100% fuel. How and if possible, how? Any ideas? ^^ Actually, they don't have unlimited fuel, they just have a lot of it, but yes.. you just have to get the object and set the fuel cargo to a lower value. Share this post Link to post Share on other sites
Mr.Bagge 0 Report post Posted October 12, 2018 14 minutes ago, StokesMagee said: Actually, they don't have unlimited fuel, they just have a lot of it, but yes.. you just have to get the object and set the fuel cargo to a lower value. Ohh yeah that's maybe true, however I made it more rare with fuel at the gas satations ^^ And where do I find the fuel cargo? Share this post Link to post Share on other sites
StokesMagee 871 Report post Posted October 12, 2018 27 minutes ago, Mr.Bagge said: Ohh yeah that's maybe true, however I made it more rare with fuel at the gas satations ^^ And where do I find the fuel cargo? https://community.bistudio.com/wiki/getFuelCargo https://community.bistudio.com/wiki/setFuelCargo Share this post Link to post Share on other sites
Mr.Bagge 0 Report post Posted October 12, 2018 thanks for reply, I think this is what I was looking for ---> "value = getFuelCargo myVehicleName;" But how do I get it to work? Let's say I want the vehicle Strider to spawn with 20% fuel when you purchase it from the vehicle trader and the quadbike to spawn with 50% fuel? or is it possible to make it random aswell? Sorry for my newb questions haha Share this post Link to post Share on other sites