[Release][Dunko vRP V6.7 - OneSync Compatible] WORKS IN 2022 - Supports 15 languages - Zap Hosting NOW 20% DISCOUNT!

I want to disable the “press E to respawn” how i can do it?

Ok thank you. And how do people sell drugs?

@Dunko
Where can I edit the cell phone?

They are all in that file mate, not sure I can help if you can’t read lol

That part is In vrp_hotkeys mate

When they have the drug dealer job they can sell them to the waypoint.

Vrp/gui

Do i need the missions? I deleted the missions

Also where would i find chamber of commerce i cannot seem to find it

[HOW] to disable auto repair in the home garage?
Hi all o/
I put the broken car in the garage-and when I take it from the garage it is automatically repaired!
how to disable auto repair in the home garage?

  1. That’s personal preference, though players will have no way of earning money other than robbing banks without them.

  2. Spawn point.

You’d have to re-code the garages and use decorators to save the damage on the vehicle.

Hello , i have some issues with the garage modifying , i would like to continue using your pack but i am looking for a way to add the showroom when people are going to buy a vehicle , i tried to use the adv_garage without success and i am really annoyed with this thing , i am really interesting also by the possibility to have multiple garage with the same storage to avoid having a ton of garage around the map. If you have any informations about that for me , ill be really happy. Thanks.

How can I make the inventory be deleted when I die?

How can I get more than one “vtype” car out?

A form of showroom will be in the next version mate, it’s best to just wait. Also will be saving vehicle mods.

You’d have to recode the garages for the vtype question.

Also for inventory deletion do this

In vrp/modules/player_state.lua press enter at the end of line 57 and paste vRP.clearInventory(user_id)

Im new to scripting, i made a few test but none of them work, is much to ask if you can show me how to do it?

I can’t mate sorry, if I did custom code for everyone who asked, I’d have no time for myself lol.

You can ask in #general-discussion:feature-requests though.

1 Like

I can’t have 2 cars out?

having an issue Instantiated instance of script vRP.MySQL.
Started resource vrp_mysql
Error parsing script base.lua in resource vrp: base.lua:14: ‘)’ expected near ‘!’
Failed to load script base.lua.
Error loading script modules/gui.lua in resource vrp: modules/gui.lua:14: attempt to index a nil value (global ‘vRP’)
every module is saying this i think could be cause of my database i have set up over and over

delete and install again, if you modified look for brackets issues

ill try that i have not modified anything im running ubuntu if that makes any difference

Not with the current way the garages are no, so you’d have to re-code the garage system.

What database are you using? Also I don’t use or have knowledge of how to set up databases in ubuntu, so you’ll have to do research on that yourself mate.

mysql and i have it set up inless im filling out the script wrong below is how i wrote it out MySQL.createConnection(“vRP”,config.db.localhost,config.db.root,config.db.thisismypass,config.db.databasedb)

How can i put this options in phone menu, like press K and select phone menu and appear “Enviar un SMS” , “Llamar jugador” and “Colgar”

> vRP.registerMenuBuilder({"main", function(add, data)
> 	local user_id = vRP.getUserId({data.player})
> 	if user_id ~= nil then
> 		local choices = {}
> 		choices["Enviar un SMS"] = {function(player,choice)
> 			users = vRP.getUsers({})
> 			vRP.buildMenu({"Agenda", {player = player}, function(menu)
> 				menu.name = "Agenda"
> 				menu.css={top="75px",header_color="rgba(200,0,0,0.75)"}
> 				menu.onclose = function(player) vRP.closeMenu({player}) end
> 				myName = tostring(GetPlayerName(player))
> 				for k, v in pairs(users) do
> 					playerName = tostring(GetPlayerName(v))
> 					if(playerName ~= myName)then
> 						playersToCall[playerName] = v
> 						menu[playerName] = {smsPlayer, "Enviar un SMS"}
> 					end
> 				end
> 				vRP.openMenu({player,menu})
> 			end})
> 		end}
> 		choices["📞 Llamar jugador."] = {function(player,choice)
> 			users = vRP.getUsers({})
> 			vRP.buildMenu({"Agenda", {player = player}, function(menu)
> 				menu.name = "Agenda"
> 				menu.css={top="75px",header_color="rgba(200,0,0,0.75)"}
> 				menu.onclose = function(player) vRP.closeMenu({player}) end
> 				user_id = vRP.getUserId({player})
> 				if(inPhoneCall[user_id] == nil)then
> 					myName = tostring(GetPlayerName(player))
> 					for k, v in pairs(users) do
> 						playerName = tostring(GetPlayerName(v))
> 						if(playerName ~= myName)then
> 							playersToCall[playerName] = v
> 							menu[playerName] = {callPlayer, "Llamar jugador"}
> 						end
> 					end
> 				else
> 					menu["📞 Colgar"] = {function(player,choice)
> 						local user_id = vRP.getUserId({player})
> 						vRPpc.cancelCall(user_id)
> 						vRP.closeMenu({player})
> 					end,"Colgar llamada con "..(GetPlayerName(inPhoneCall[user_id]) or " ")}
> 				end
> 				vRP.openMenu({player,menu})
> 			end})
> 		end,"Llamar a un jugador."}
> 		add(choices)
> 	end
> end})

Thank you for your quick reaction , cant wait for the next update so :smile:

1 Like