Hits: 5

Is there a way to have scripts do something on startup? Redm/CFX/LUA
————————————————–
— Startup —————————————
————————————————–
AddEventHandler(‘onResourceStart’, function(resource)
if resource == GetCurrentResourceName() then
— do something on startup
end
end)