Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local veh_temp = 10
- for k, ply in pairs( player.GetAll() ) do
- local pod = ply:GetVehicle()
- if not IsValid( pod ) then return end
- local veh = pod:GetParent()
- if not IsValid( veh ) then return end
- if veh_temp < 100 then
- veh_temp = --[[the part where the temperature is calculated]]--
- veh:SetNWInt( "vehucle_temp", veh_temp )
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement