Jump to content

[HELP] Very Serious Annoying Problem


mustang

Recommended Posts

I Mapped a city it got almost 8 Thousand Object , but there is a problem when i place a car in the map on go to a another place in the map or sanandreas map ( A far distance that makes the map disapear ) and come back to see the car i will find it under the map in the sea ( It falls }

Example : (BTW is happens when playing a gamemod like play or something not in the Map-Editor) - (Open the pictures in another tab if you want)

Zuc8UVy.png

HqnVQ76.jpg

qDUKmWV.png

Edited by Guest
Link to comment
The problem is that the is spawned some milliseconds before the objects, so it falls under them. Ye can try spawning the car higher of a Z coord

I know that , but the problem is the player would leave the car and go somewhere else then go back or do something i don't know how this will work , i thought of a solution of freezing the car on player exiting the vehicle but that will destroy the use of the handbrake in the roleplay-mod

Link to comment
The problem is that the is spawned some milliseconds before the objects, so it falls under them. Ye can try spawning the car higher of a Z coord

I know that , but the problem is the player would leave the car and go somewhere else then go back or do something i don't know how this will work , i thought of a solution of freezing the car on player exiting the vehicle but that will destroy the use of the handbrake in the roleplay-mod

Ok, just freeze the car in there's no other players close to it. Try this solution and tell me if it works

Link to comment
The problem is that the is spawned some milliseconds before the objects, so it falls under them. Ye can try spawning the car higher of a Z coord

I know that , but the problem is the player would leave the car and go somewhere else then go back or do something i don't know how this will work , i thought of a solution of freezing the car on player exiting the vehicle but that will destroy the use of the handbrake in the roleplay-mod

Ok, just freeze the car in there's no other players close to it. Try this solution and tell me if it works

You mean that if there is no one near the car then freeze the car ? , if that what you mean how should do it ?

Link to comment
calculate the distance between the car and the player(s), then put a condition: if de distance is higher than 100m (for example) you freeze the car. If the distance is lower the car simple stays in its position.

Could you write a code for me or an example ?

Link to comment
calculate the distance between the car and the player(s), then put a condition: if de distance is higher than 100m (for example) you freeze the car. If the distance is lower the car simple stays in its position.

Could you write a code for me or an example ?

I don't know Lua syntax, sorry. You may PM Stolka about it, he's better than me at scripting

Link to comment
  • 2 weeks later...

I used the vehicle streamer script , but sometimes when iam driving near a car (or walking) , if the vehicle for example is rotated 90 Degrees , it will rotate into 0 , even if it was 270 degrees (any degree ) it turns into 0 , Not always , how should i fix this problem

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