Hey guys, i downloaded a vehicle pack for darkrp (http://www.garrysmod.org/downloads/?a=view&id=110381) and the main problem i am running into is that i set the vehicles so certain classes could spawn certain vehicles, but when they change class, the vehicle stays. Is there a way to make it so when a player changes jobs his vehicle disappears?

A smaller and less important issue i am running into is that some of the vehicle models wont download to my clients, anyone have any idea why? Only a few of them don't. Any help is appreciated! Thanks in advance!

Hey guys, i downloaded a vehicle pack for darkrp (http://www.garrysmod.org/downloads/?a=view&id=110381) and the main problem i am running into is that i set the vehicles so certain classes could spawn certain vehicles, but when they change class, the vehicle stays. Is there a way to make it so when a player changes jobs his vehicle disappears?

A smaller and less important issue i am running into is that some of the vehicle models wont download to my clients, anyone have any idea why? Only a few of them don't. Any help is appreciated! Thanks in advance!

Which vehicles? Also I'd set it to check when they die if they're still the required class for the vehicle (if you have it set to kill them when they change jobs).

I have an entity that uses a model (a mining drill) with three animations: there's the startup animation where the drill fires up and lowers into the ground, an active drilling animation which is looped, and a shutdown animation where the drill slows and is retracted.

What I need to do is play the startup sequence, and then transition into the looped drilling animation. What is the best way to trigger the second animation as soon as the first one is complete?

ok i downloaded a dedicated server got it all setup, sandbox gamemode works decent, however some objects can be walked through, anyways when i run any gamemode besides sandbox (even the default ones) i get these errors

the gamemodes work fine when i don't use the dedicated server but however i seem to get all sorts of errors + in the game every entity that spawns is floating, guns don't reload properly or look right and everything is messed up. i also got these errors on sandbox too.

Failed, using default cubemap 'engine/defaultcubemap'
(it said that like 10 times)

CSS has been changed to install to it's own directory that no longer resides in orangebox. I believe you need to move the cstrike folder out of the css folder and into the orangebox folder so it sits alongside the garrysmod folder.

CSS has been changed to install to it's own directory that no longer resides in orangebox. I believe you need to move the cstrike folder out of the css folder and into the orangebox folder so it sits alongside the garrysmod folder.

It looks like you're doing this serverside, which means the client has to wait for the server to tell him he can noclip before noclipping them. This could result in a slight lag or stutter when you press your noclip button.

It's not essential, your code will work perfectly fine without it, however really that hook should be shared (on client and server). This way the client can "predict" whether he can noclip or not, and start the noclip a split second before the server approves it, making it ever so slightly smoother.

If you're unsure just leave it as it is, as I said it's not essential.

CSS has been changed to install to it's own directory that no longer resides in orangebox. I believe you need to move the cstrike folder out of the css folder and into the orangebox folder so it sits alongside the garrysmod folder.

thanks what you said was right however i needed to get the whole css dir outside the orangebox folder as well now it works thanks guys!

quick question: is there a way to make me admin of dedicated server so that my in game console could perform all the tasks my dedicated server console could do? or will i need to make an admin menu to perform all the tasks?

quick question: is there a way to make me admin of dedicated server so that my in game console could perform all the tasks my dedicated server console could do? or will i need to make an admin menu to perform all the tasks?

You'll need to set up an rcon password, then time you log in activate it through rcon_password then commands and such in that console. Should be easy to figure out.