Sziasztok, most szeretném majd elkezdeni a luat de ezek a hibák mik?
Itt mi a baj?
[2017-01-29 15:31:35] ERROR: exg_paintjob/exServer.lua:2: attempt to compare number with nil
Itt az egész script
function addVehiclePaintJob(veh, model, id)
if id > 0 then
triggerClientEvent(root, \"addVehiclePaintJob\", source, veh, model, id)
else
triggerClientEvent(root, \"destroyShaderCache\", source, veh)
end
end
addEvent(\"addVehiclePaintJob\", true)
addEventHandler(\"addVehiclePaintJob\", root, addVehiclePaintJob)
[2017-01-29 15:31:27] SCRIPT ERROR: mta_admin/codeServer.lua:39: unexpected symbol near \'�\'
[2017-01-29 15:31:27] ERROR: Loading script failed: mta_admin/codeServer.lua:39: unexpected symbol near \'�\'
(38 sortól 44-ig)
function runString (commandstring, outputTo, source)
local sourceName
if source then
sourceName = getPlayerName(source)
else
sourceName = \"Console\"
end
Előre is köszönöm a segítséget!