Jump to content

Troubles when exiting vehicle


Zahl

Recommended Posts

I just started scripting with lua, and since my favourite gamemode is ctv, I thought

a good thing to start with would be understanding the script and trying to modify it.

And so I did. My ideas were:

-- Add a scorecounter for the teams

-- Add a message when the car is delivered (relized there was such a message, but the call was screwed up so it never showed up in game)

-- Make the car not just disappear but explode when it gets delivered, so get out of the car and run! :D

-- Remove the /bring command :roll:

And there comes the trouble: Suddenly with this script, sometimes you can't get out of the car.

You press F (or whatever key you use to enter/exit) and the player in car just makes a strange movement with the

hands (like he is steering left/right) and stays in car. Sometimes the radio stops for half a second too. So currently

you end up pressing F all the time until he finally gets out of the car.

I don't see any reason why this suddenly happens, I checked the playerExitVehicle funtion, nothing suspicious there,

the event isn't called if the driver stays in the car.

I also checked the wiki for any function like that, but didn't find one.

Maybe its just that something is screwed up with my server, but I at least know that it happens for

other players too, so its not just my client/game.

Any ideas?

I attached the modified ctv scripts, in case that helps...

Err no, I didn't: "Could not upload attachment to ./files/15278_f66a0276935a100b2697cd1ab2718dbc."

Here it is: http://www.file-upload.net/download-664527/ctv.zip.html

Link to comment
  • 2 weeks later...

Hmmm... Is your server running on windows?

My new theory is, that this happens on windows servers only.. Its not just on my modified ctv script, its in everygamemode now that I've checked that.

So it really seems like a bug. Can maybe more people confirm that or say anything about that problem?

Unfortunately I baraly have time for MTA atm because of tests at univ :|

Link to comment

Racemode thing was my first idea too, but then it doesn't make sense, because you will

eventually get out of the car after tapping F for like 10 times. You can't do that in racemode.

So we got two people with windows servers where that happened... Any linux servers with

the same symptoms here? Or any windows server without? :)

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...