Aller au contenu principal

isInService

Information

Cette callback permet de savoir l'état du service du joueur dans un job.


ESX.TriggerServerCallback('esx_service:isInService', function(inService)
if inService then
ESX.ShowNotification('You are in service')
else
ESX.ShowNotification('You are not in service')
end
end, 'taxi')
ParamètreTypeDescription
inServiceBooleanL'état du service