AddPlayer
AddPlayer
Arguments
Argument
Description
Usage
exports['nyx2_target']:AddPlayer(identifier, options)Example
exports['nyx2_target']:AddPlayer('debug_global_player', {
{
title = 'Escort Player',
icon = 'fas fa-user',
action = function(player)
ExecuteCommand('escort '..player)
end,
canInteract = function(player)
return true
end,
job = {'police', 'ambulance'},
gang = nil,
citizenid = nil,
item = nil,
}
})RemovePlayer
Arguments
Argument
Description
Example
Last updated