Jump to content

Rocket patriot passenger trouble


Gamesnert

Recommended Posts

Hello again,

I've been making a small little gamemode just for fun, and it featured special patriots as special spawns, it carried a SAM site which could fire 4 rockets.

Alone this worked great! But as soon as others will also get in the car, and the driver THEN shoots, he'll create a rotating static rocketmachinegun from hell which turns with the vehicle...

Sounds weird, is weird and difficult to explain... Let's just say that when a driver fires, and a passenger is in the vehicle. On the position he fired, there will be a non-stop spawning of rockets in the direction the car faces. Even if the car drives away, the spawn will stay but it will rotate with the vehicle.

http://gamesnert.pastebin.com/m1d2827c7 (the script, cut out some parts)

It's not the prob that when the player gets out, they key won't be unbound, since I have that in the script. (but not on the pastebin)

I really don't see what the prob is, asked on the forums at the time and it was quite inactive and the ones who DID answer, also didn't know... =/

Any help is appreciated,

Gamesnert.

Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...