how to download and setup oxygen framework
Settings
You can set your server settings in Citizenmpserver.yml
You can set your oxygen script settings in resources/[system]/oxygen/oxy_settings.lua
You can Adjust your script's settings inside oxy_settings.lua
Things to notice
AddAccountMoney(amount)
RemoveAccountMoney(amount)
AAddBankMoney(amount)
RemoveBankMoney(amount)
GetAccountMoney()
GetBankMoney()
ActivateMenu("title", items)
IsCursorInArea (x, y, width, height)
Notify("Press_E_To_Do_Something", 5000)
Print("text")
SetSkin(model hash)
SpawnCar(model, x, y, z, heading, teleport true/false)
SpawnObject(model, x, y, z, heading)
PlayAnim(animation, animationset)
IsCharNearCoords(playerid, x, y, z, radius)
SetJob(jobid)
SetRank(rank)
GetPlayerIdByName(name)
Revive()
DisplayText(text, x, y)
DisplayImage(txd, png, width, hieght, x, y)
AddCam(x, y, z, lookz, looky, lookz)
CreateBlipAtCoord(x, y, z, text, sprite, color, range, scale)
DrawCheckpointWithDist(x, y, z, radius, r, g, b, a)
CreateCheckpoint (x, y, z, radius, r, g, b, a, message)
DeleteCheckpoint(id)
DoesCheckpointExist(id)
IsPlayerAtCheckpoint(id)
round(num, idp)
GetRank(id)
SendEveryoneMessage(m1, m2)
SendPlayerMessage(name, m1 , m2)
SaveData()
DrawRectLeftTopCenter(x, y, width, height, r, g, b, a)
DrawCurvedWindowLeftTopCenter(x, y, width, height, a)
end
We use cookies to analyze website traffic and optimize your website experience. By accepting our use of cookies, your data will be aggregated with all other user data.