it says you are not cop
Then you havenβt added the skin correctly.
u got discord
Show me your skin code here.
β Lucifer
β Copyrighted Β© Lucifer 2018
β Do not redistribute or edit in any way without my permission.
β[[------------------------------------------------------------------------
ActionMenu
Created by WolfKnight
Additional help from lowheartrate, TheStonedTurtle, and Briglair.
------------------------------------------------------------------------]]β
β[[------------------------------------------------------------------------
Resource Rename Fix β (Via Rhys19)
------------------------------------------------------------------------]]β
Citizen.CreateThread( function()
Citizen.Wait( 1000 )
local resourceName = GetCurrentResourceName()
SendNUIMessage( { resourcename = resourceName } )
end )
β Define the variable used to open/close the menu
local menuEnabled = true
βs_m_y_cop_01β,
βs_m_y_hwaycop_01β,
βs_m_y_sheriff_01β,
βs_m_y_swat_01β,
local leoSkins = {
βs_m_y_cop_01β,
βs_m_y_hwaycop_01β,
βs_m_y_sheriff_01β,
βs_m_y_swat_01β,
}
local fdSkins = {
βs_m_y_fireman_01β,
βs_m_m_paramedic_01β,
}
β[[------------------------------------------------------------------------
ActionMenu Toggle
Calling this function will open or close the ActionMenu.
------------------------------------------------------------------------]]β
function ToggleActionMenu()
β Make the menuEnabled variable not itself
β e.g. not true = false, not false = true
menuEnabled = not menuEnabled
local message = "you should learn to use code blocks"
Jesus use a code block, why have you got models outside the array. Instead of
βs_m_y_cop_01β,
βs_m_y_hwaycop_01β,
βs_m_y_sheriff_01β,
βs_m_y_swat_01β,
local leoSkins = {
βs_m_y_cop_01β,
βs_m_y_hwaycop_01β,
βs_m_y_sheriff_01β,
βs_m_y_swat_01β,
}
Use
local leoSkins = {
βs_m_y_cop_01β,
βs_m_y_hwaycop_01β,
βs_m_y_sheriff_01β,
βs_m_y_swat_01β,
}
cant find them how do i disABLE THE MESSAGE YOU ARE NOT COP
OMG if you donβt want permission scroll up and use that version.
dont see it
LMAO my bad, I tend to upload things late at night.
SO it wont let me cuff people because it says im not a police officer, how do I become a police officer?
To add permissions to use it, it is based on the playerβs skin, so you have 2 choices. Add your skins into the leoSkins or use the non permissions version.
Is there a way to disable using skins to verify people from each toolbox?
Yes as I said in the reply right above yours.
Simply use the non permissions version if you donβt want a permission system.
On the new update without permissions I am no longer able to change the key from βMβ
I would like for it to be βNUMPAD+β which is under line 403 βif ( IsControlJustReleased( 0, 314 ) or IsDisabledControlJustReleased( 0, 314 ) ) and GetLastInputMethod( 0 ) thenβ
Can someone help me with this?
Odd⦠changing this line works fine.
if ( IsControlJustReleased( 0, --[[keyvalue]] ) or IsDisabledControlJustReleased( 0, --[[keyvalue]] ) ) and GetLastInputMethod( 0 ) then
Ive tried but it wont open after the change is made.