function attachNeon( thePlayer )
if not isPedInVehicle( thePlayer ) then return end
local vehicle = getPedOccupiedVehicle( thePlayer )
local obj = createObject( ... ) -- Создаем объект
attachElements( obj, vehicle, ... ) -- Тут настраиваем положение объекта (:
end
addCommandHandler( "neon", attachNeon )