Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- addEventHandler("onClientVehicleEnter", getRootElement(),
- function()
- if source == lastcar then
- tankanzeigestatus = true
- else
- local tempTank = tank
- for auto, tankv in ipairs(alleautoos) do
- if auto == source then
- tank = tankv
- outputChatBox("Tabellentank: "..tankv)
- end
- end
- if tempTank == tank then
- tankanzeigestatus = true
- tank = math.random(40,90)
- table.insert(alleautos, source, tank)
- else
- tankanzeigestatus = true
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment