Troubleshooting
Fixes for the problems server owners run into most often.
The targeting still has the old look
- Check that the
ox_targetfolder on the server is the ox_target Redesigned one. Itsfxmanifest.luadescription is “ox_target Redesigned by Vyro Production.” - Search
resourcesfor a secondox_targetfolder. With two copies, you can’t know which one starts. - Restart the whole server after replacing the folder.
The options of other scripts disappeared
ox_target was restarted on its own, and the options other resources gave it went with it. Restart the whole server, or restart those resources after ox_target.
The targeting doesn't follow my ox_lib theme
- It needs ox_lib Redesigned 1.1.0 or newer.
ox_target:thememust beauto, or left out.- A player who picked a theme in
/oxtargetkeeps it. Server, in the Theme row, follows your theme again.
My server.cfg settings do nothing
- Use
setr, notset. Onlysetrreaches the players. - Check the spelling against the settings table, for example
ox_target:crosshair. - Restart the server after editing
server.cfg. - A player who saved their own settings in
/oxtargetkeeps them. Server settings, then Save, brings back yours.
/oxtarget says the server doesn't allow it
ox_target:playerSettings is set to 0. Remove the line, or set it to 1, to let players change their settings.
Keys 1 to 9 don't pick an option
- They only work once the cursor shows: click while aiming, or use cursor mode. That’s on purpose, so they never clash with an inventory hotbar.
- Check that Shortcuts 1 to 9 is on in
/oxtarget.
People aren't outlined
That’s on purpose: outlining a ped makes the game crash. People get a small marker above their head instead, and vehicles and objects get the outline.
The console says a newer ox_target is out
That’s expected. Keep ox_target Redesigned and wait for its matching update. See Updating.
