function WorldVehicleAdd(id, model, x, y, z, color_1, color_2, health)
local bs = raknetNewBitStream()
raknetBitStreamWriteInt16(bs, id) -- Server ID
raknetBitStreamWriteInt32(bs, model) -- Model ID
raknetBitStreamWriteFloat(bs, x) -- Pos X
raknetBitStreamWriteFloat(bs, y) -- Pos Y
raknetBitStreamWriteFloat(bs, z) -- Pos Z
raknetBitStreamWriteFloat(bs, 0) -- Angle (Rotation)
raknetBitStreamWriteInt8(bs, color_1) -- First (main) color
raknetBitStreamWriteInt8(bs, color_2) -- Secondary color
raknetBitStreamWriteFloat(bs, health) -- Health
raknetBitStreamWriteInt8(bs, 0) -- Interior
raknetBitStreamWriteInt32(bs, 0) -- Door status
raknetBitStreamWriteInt32(bs, 0) -- Panel status
raknetBitStreamWriteInt8(bs, 0) -- Light status
raknetBitStreamWriteInt8(bs, 0) -- Tire status
raknetBitStreamWriteInt8(bs, 0) -- Siren
for i = 1, 14 do
raknetBitStreamWriteInt8(bs, 0) -- Customisation
end
raknetBitStreamWriteInt8(bs, 0) -- Paint job
raknetBitStreamWriteInt32(bs, -1) -- Body color 1
raknetBitStreamWriteInt32(bs, -1) -- Body color 2
raknetEmulRpcReceiveBitStream(164, bs) -- WorldVehicleAdd
raknetDeleteBitStream(bs)
end