Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion [gameplay]/freeroam/fr_client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1678,7 +1678,8 @@ function setColorCommand(cmd, ...)
end

for i = 1, 12 do
colors[i] = args[i] and tonumber(args[i]) or colors[i]
local color = tonumber(args[i]) or -1
colors[i] = color >= 0 and color or colors[i]
end
server.setVehicleColor(vehicle, unpack(colors))
end
Expand Down