Editable files
Fiveops detects common scripts on its own (list). Use editable/ only when a
script on your server is custom or renamed. These files are yours and are kept on updates. Settings like ban
messages or log language are in the panel, not here.
How an entry works
Section titled “How an entry works”EditableServer.revive = { custom = true, -- false: built-in, true: use fn below fn = function(src) TriggerClientEvent('my_ambulance:client:revive', src) return true end,}custom = false(default) keeps the built-in integration;custom = truecalls yourfn.- If
fnerrors or returnsnilor the wrong type, the built-in integration is used for that call and the server console warns once a minute:editable/framework.lua → revive: returned nil; used the built-in behavior. - Run
restart fiveopsafter editing.
framework.lua runs on the server (warnings in the server console); client.lua runs on each player’s game
(no warnings: Fiveops prints nothing in F8).
Entries
Section titled “Entries”| Entry | File | Page |
|---|---|---|
framework, getPlayer, getPlayerByCitizenId, getCitizenId, onlinePlayers, searchCharacters | framework.lua | Framework and players |
addMoney, removeMoney, setJob, moneyEvents | framework.lua | Money and jobs |
revive, heal, isDead | framework.lua | Ambulance and death |
openAppearance, societyBalance | framework.lua | Clothing and society accounts |
giveVehicleKeys / setFuel, getFuel, giveKeys | framework.lua / client.lua | Fuel and vehicle keys |
phoneInfo, phoneSetNumber, phoneAction / phoneReload | framework.lua / client.lua | Phone |
inventoryTables, extraCharacterTables | framework.lua | Database tables |
weatherState, setTime, setWeather | framework.lua | Weather and time |
announce | client.lua | Announcements |