Jump to content

Mr.K

Members
  • Posts

    2
  • Joined

  • Last visited

Mr.K's Achievements

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody. (2/54)

0

Reputation

  1. when I enter to the vehicle as the driver, fuel changes to random,how to do that the fuel level will be loaded from a file? function vehicleEnter(player, seat, jacked) if(getElementData(vehicle, "fuel") == false) then if seat == 0 then fuel = math.random(70, 100) setElementData(source, "fuel", tonumber(fuel)) end end if(getLocalPlayer()==player) then guiSetVisible(fBar, true) guiSetVisible(fLabel, true) end end addEventHandler("onClientVehicleEnter", getRootElement(), vehicleEnter)
  2. when I enter to the vehicle as the driver, fuel changes to random,how to do that the fuel level will be loaded from a file? function vehicleEnter(player, seat, jacked) if(getElementData(vehicle, "fuel") == false) then if seat == 0 then fuel = math.random(70, 100) setElementData(source, "fuel", tonumber(fuel)) end end if(getLocalPlayer()==player) then guiSetVisible(fBar, true) guiSetVisible(fLabel, true) end end addEventHandler("onClientVehicleEnter", getRootElement(), vehicleEnter)
×
×
  • Create New...