Jump to content

SpawnVehicles 1.0.1

   (0 reviews)

5 Screenshots

  • 28k
  • 384
  • 5.96 kB
This area is for discussion and questions. Please use the support area for reporting issues or getting help.

Recommended Comments

V.

Posted

2 things i have found: permissions for mini and scrappy are not working (when trying to give to group it says permission doesn't exist) & when spawning the scrappy it spawns on you killing you so i would recommend spawning in front of the player by a bit so that the tail end doesn't kill them either

  • Like 1
itswut

Posted

Thanks for the info, i will look into that.

itswut

Posted

Hey @V.I've updated it, i personally didn't find any problems with the permissions, but the vehicles spawning on you, is now fixed, and they will spawn in front of you.

bsdinis

Posted (edited)

4 hours ago, WuttyJ said:

Hey @V.I've updated it, i personally didn't find any problems with the permissions, but the vehicles spawning on you, is now fixed, and they will spawn in front of you.

You hard-coded the RegisterPermissions at Init() with the Keys from the default config without checking if they actually exist, I'm sure it will throw an error for 'missing Key' if you remove one of them from the config and then reload the plugin.

Edited by bsdinis
bsdinis

Posted

You should also protected override SaveConfig(), or rename the method.

itswut

Posted

On 8/13/2023 at 12:15 PM, bsdinis said:

You hard-coded the RegisterPermissions at Init() with the Keys from the default config without checking if they actually exist, I'm sure it will throw an error for 'missing Key' if you remove one of them from the config and then reload the plugin.

But why would you remove the permission in the config???

bsdinis

Posted (edited)

3 hours ago, WuttyJ said:

But why would you remove the permission in the config???

I didn't say to remove them, all I said is you have hard-coded them in without even checking if they exist in the config file, if an admin adds a new vehicle to the config file how are you going to register its permission?

image.png.b3600dedc66f1315b78b65c3a76b67d3.png

What would happen if you remove any of these 3 Keys from the config ("mini", "scrappy" or "boat") and then reload the plugin?image.png.a30ebc66aa106cd62d9e56515908e96e.png

Edited by bsdinis
Lariflette

Posted

Hello, when i try to download the new version (1.0.1), umod download the 1.0.0 version. is it normal ?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

itswut's Collection

User Feedback

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.4k

Files Sold

Total number of files sold.

2.4m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.