[Release] Roleplay Toolbox 2.0

Simply change your model to one of the models in the leoSkins table or add more on line 27

local leoSkins = {
	"s_m_y_cop_01",
    "s_m_y_hwaycop_01",
    "s_m_y_sheriff_01",
    "s_m_y_swat_01",
}

Take the “char_floyd.ytd” from the stream folder, copy it into your Grand Theft Auto V directory, open “Open IV” open “char_floyd,ytd” and add your own images, customize or remove them.

Because I wanted to and it was requested if you want to allow movement, remove this from line 1087

DisableControlAction(0,32, true) -- W
DisableControlAction(0,33, true) -- S
DisableControlAction(0,34, true) -- A
DisableControlAction(0,35, true) -- D

Where do i go in the files to change id244 to id 20 so i can change the key pls?

Thanks it was driving me mad lol stupid 20char shit lol

No worries mate. Enjoy!

1 Like

Ok. So Sorry. I’m a noob. How do i make it to where i can use MP Peds with this and how do i get it to where i can use the Wraith Radar system with this menu?. Thanks in advance

how do i add cop where is the file for it and do i need thier hex

i figured that out but cant find where police model names are

To change the police model, change the model name in the leoSkins array on line 27

local leoSkins = {
	"s_m_y_cop_01",
    "s_m_y_hwaycop_01",
    "s_m_y_sheriff_01",
    "s_m_y_swat_01",
}

Ok. So Sorry. I’m a noob. How do i make it to where i can use MP Peds with this and how do i get it to where i can use the Wraith Radar system with this menu?. Thanks in advance I do the thing to disable the whitelisting and the menu doesn’t work anymore.

Add this to leoSkins on line 27 to add mp peds.

local leoSkins = {
	"s_m_y_cop_01",
    "s_m_y_hwaycop_01",
    "s_m_y_sheriff_01",
    "s_m_y_swat_01",
    "mp_m_freemode_01",
    "mp_f_freemode_01",
}

This should already be in the menu by default, you must have something causing an error. However, go into cl_toolbox.lua and add your radar event into the radar button on line 182.

elseif ( data == "radar" ) then 
        TriggerEvent( '' )

You must be doing it wrong add this to line 80

--[[
    if ( data == "cuff") and not IsAllowedPed("leo") then
	    drawNotification("~r~You are not a Police officer!")
    elseif ( data == "uncuff") and not IsAllowedPed("leo") then
	    drawNotification("~r~You are not a Police officer!")
    elseif ( data == "drag") and not IsAllowedPed("leo") then
	    drawNotification("~r~You are not a Police officer!")
    elseif ( data == "seat") and not IsAllowedPed("leo") then
	    drawNotification("~r~You are not a Police officer!")
    elseif ( data == "unseat") and not IsAllowedPed("leo") then
	    drawNotification("~r~You are not a Police officer!")
    elseif ( data == "radar") and not IsAllowedPed("leo") then
		drawNotification("~r~You are not a Police officer!")
	elseif ( data == "loadout") and not IsAllowedPed("leo") then
		drawNotification("~r~You are not a Police officer!")
	elseif ( data == "swat") and not IsAllowedPed("leo") then
		drawNotification("~r~You are not a Police officer!")
	elseif ( data == "hat") and not IsAllowedPed("leo") then
		drawNotification("~r~You are not a Police officer!")
	elseif ( data == "glasses") and not IsAllowedPed("leo") then
		drawNotification("~r~You are not a Police officer!")
	elseif ( data == "radio") and not IsAllowedPed("leo") then
		drawNotification("~r~You are not a Police officer!")
	elseif ( data == "radiogun") and not IsAllowedPed("leo") then
		drawNotification("~r~You are not a Police officer!")
	elseif ( data == "stance") and not IsAllowedPed("leo") then
		drawNotification("~r~You are not a Police officer!")
	elseif ( data == "investigate") and not IsAllowedPed("leo") then
		drawNotification("~r~You are not a Police officer!")
	elseif ( data == "holster") and not IsAllowedPed("leo") then
		drawNotification("~r~You are not a Police officer!")
	elseif ( data == "citation") and not IsAllowedPed("leo") then
		drawNotification("~r~You are not a Police officer!")
	elseif ( data == "notes") and not IsAllowedPed("leo") then
		drawNotification("~r~You are not a Police officer!")
	elseif ( data == "traffic") and not IsAllowedPed("leo") then
		drawNotification("~r~You are not a Police officer!")
	elseif ( data == "medic") and not IsAllowedPed("leo") then
		drawNotification("~r~You are not a Police officer!")
	elseif ( data == "weld") and not IsAllowedPed("leo") then
		drawNotification("~r~You are not a Police officer!")
	elseif ( data == "notes") and not IsAllowedPed("leo") then
		drawNotification("~r~You are not a Police officer!")

	elseif ( data == "seat2") and not IsAllowedPed("fd") then
		drawNotification("~r~You are not Fire or EMS!")
	elseif ( data == "unseat2") and not IsAllowedPed("fd") then
		drawNotification("~r~You are not Fire or EMS!")
	elseif ( data == "fire") and not IsAllowedPed("fd") then
		drawNotification("~r~You are not Fire or EMS!")
	elseif ( data == "medicloadout") and not IsAllowedPed("fd") then
		drawNotification("~r~You are not Fire or EMS!")
	elseif ( data == "hat2") and not IsAllowedPed("fd") then
		drawNotification("~r~You are not Fire or EMS!")
	elseif ( data == "mask2") and not IsAllowedPed("fd") then
		drawNotification("~r~You are not Fire or EMS!")
	elseif ( data == "gloves2") and not IsAllowedPed("fd") then
		drawNotification("~r~You are not Fire or EMS!")
	elseif ( data == "glasses2") and not IsAllowedPed("fd") then
		drawNotification("~r~You are not Fire or EMS!")
	elseif ( data == "medic2") and not IsAllowedPed("fd") then
		drawNotification("~r~You are not Fire or EMS!")
	elseif ( data == "weld2") and not IsAllowedPed("fd") then
		drawNotification("~r~You are not Fire or EMS!")
	elseif ( data == "notes2") and not IsAllowedPed("fd") then
		drawNotification("~r~You are not Fire or EMS!")
--]]

Then make sure to change this on line 149

elseif ( data == "hands" ) then 

to

if ( data == "hands" ) then 

I did exactly what you said and the menu is not opening at all when i press M.

I have changed my open/close key to 212 (Home Key) and I am able to open and go through the menu but my character stops and I’m not able to move and I can’t close the menu with the “exit” button or with the home button. It freezes and its getting really annoying.

Does anybody know how to turn off the thing that makes it not let everyone do LEO actions?

How do you whitelist people for LEO and fire etc?

Is there away to disable the M-Menu from opening when typing in chat or typing a message in a pop up text box?

How do I give people the permissions to use the leo menu?

Is there away to disable the M-Menu from opening when typing in chat or typing a message in a pop up text box?

Anyone know how this can be done?

If you mean for Lambda or Simple Trainer, not to my knowledge.

Damn, that sucks. Thanks anyway.

Any plans for any updates soon?