You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi dude, first of all thank you for your scripts.
I noticed that all the players being outside the group 'USER' so the 'ADMIN' and 'SUPERADMIN' could not use the command and I took the liberter to modify the function which adds the command of :
Hi dude, first of all thank you for your scripts.
I noticed that all the players being outside the group 'USER' so the 'ADMIN' and 'SUPERADMIN' could not use the command and I took the liberter to modify the function which adds the command of :
--old command /givecarkeys
TriggerEvent('es:addGroupCommand', 'givecarkeys', 'user' , function(source, args, user)
TriggerClientEvent('esx_darcoche:Dar', source)
end, function(source, args, user)
TriggerClientEvent('chat:addMessage', source, { args = { '^1SYSTEM', 'ERROR - Regardez codeina.pro pour plus d information.' } })
end)
to this so that the group 'admin' and 'superadmin' can use the command too :
--new command /givecarkeys
TriggerEvent('es:addCommand', 'givecarkeys', function(source, args, user)
TriggerClientEvent('esx_darcoche:Dar', source)
end
Here I do not know if you intend to change your rating but those who want to do it themselves have the code at least
The text was updated successfully, but these errors were encountered: