okokSpawnSelector

YouTube Video

Installation Guide

Requirements

ox_lib (https://github.com/overextended/ox_lib/releases/latest/download/ox_lib.zip).

Event to open the menu

TriggerEvent('okokSpawnSelector:spawnMenu', newCharacter, lastCoords)

newCharacter should be true or false.

lastCoords is optional and it's used to pass the last location of the player (format example: {"x":936.40,"y":59.09,"z":111.03}).

vSync compatibility

Add the following line at the end of the vSync/vs_server.lua file:

exports('getWeatherState', function() return CurrentWeather end)

Server artifacts

Make sure your server artifacts version is above the 5181.

Last updated