[vRP Framework]-[Psycho Edited - FX 3.5]-[23/07/17]

This vehicle shop looks really amazing :slight_smile:

so you could finally see the cars before buy. Its difficult to know all cars.

for garage to take them out the system of vrp is really nice and also sell.

But buy cars this would be awesome like the lscustoms then :slight_smile:

Imagicthecat is working on a fxserver port. Support him if you can :slight_smile:

1 Like

Anyone know how to fix, I bought a vehicle [TurismoR] And I upgraded it in LSC and then stored it then took it out and it wasnt customized anymore D: please help

this is fixed in the lscustoms version allreay. Its 5 lines in one of the both files i added it. so cars with police will not change the color anymore

And spawn now work?oO

i can spawn police cars yes. i try spawn and tune private cars now to test.

Cars and stuff spawns for me but police cars are still black now.
damn the if vtype police seems to not work

Edit: with the police fox all my cars spawn black after park and get them again^^

Thats the normal code in the clients/basic_garages.lua:

-      if colors then
-        SetVehicleColours(nveh,tonumber(colors[0]), tonumber(colors[1]))
-      end
-      if extracolors then
-        SetVehicleExtraColours(nveh,tonumber(extracolors[0]), tonumber(extracolors[1]))
-      end

and this should be the code for getting police cars normal:

+      if vtype ~= "police" then
+        if colors then
+          SetVehicleColours(nveh,tonumber(colors[0]), tonumber(colors[1]))
+        end
+        if extracolors then
+          SetVehicleExtraColours(nveh,tonumber(extracolors[0]), tonumber(extracolors[1]))
+        end
+    end

This doesnt do anything correct for me as none coder almost :smiley:

there should be if vehicletype police then set colors to example 111(white) and secondary 0 (black)

elseif and here the normal code to get the color from the database.

The codeabove askes about an police car and then works again as normal or?

Wierd code :smiley:

Need your attention please !!

I f you want to debug the permission for the garage , you will need to go in the folder module/ basic garage and remplace this ( line : 320)

if user_id ~= nil and (gcfg.permission == nil or vRP.hasPermission(user_id,gcfg.permission)) then
with
if user_id ~= nil and vRP.hasPermissions(user_id,gcfg.permissions or {}) then

Save and envoy :wink:

1 Like

Imgur
help me plis what is this
sql empty

But it’s not just in the police, it’s in the ambulances too and all the vehicles are true mods?

When already an update with different types of work?

give pls base youre sql.rar

1 Like

I would like to translate to serverfx because the citizen starts giving me many ping errors and throws many players from time to time

Somebody know how correctly remove police npc near police station and their cars? Really necessary.

delete u database, create one named vrp start, database are created in u start server

1 Like

I hear you! :wink: (OMG I HAVE USERS)

I’d be happy to integrate the best parts of this release into vRP++, but I’ve already got myself a headache reading into vRP code and struggling to make it work the way I want it to. I’ll keep your request in mind, but it’s not one of the top priorities ATM.

It would be much appreciated and generally supercool if you or @Psychorustle or anyone sent some code as pull requests on GitHub.

1 Like

u can download and input to u vrp++
only u need take of my vrp is
all file in vrp/cfg
take file paycheck.lua in vrp/client and vrp/modules
all other files can be replace by u vrp++ @ENDrain

2 Likes

Ok, will look into it, thanks!

1 Like

lscunstoms make the permission garage dont work u need replace with original basic_garage of client and modules

1 Like

Does anyone know how to color the server title? And some symbols or something?