mustang Posted October 8, 2013 Posted October 8, 2013 (edited) 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) Edited November 1, 2013 by Guest
Moderators IIYAMA Posted October 8, 2013 Moderators Posted October 8, 2013 You should try to set the vehicle respawnable. (script)
mustang Posted October 9, 2013 Author Posted October 9, 2013 Any links for it ? , and i want this to work in Roleplay mod
-Bane- Posted October 9, 2013 Posted October 9, 2013 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
mustang Posted October 9, 2013 Author Posted October 9, 2013 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
-Bane- Posted October 10, 2013 Posted October 10, 2013 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
mustang Posted October 10, 2013 Author Posted October 10, 2013 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 ?
-Bane- Posted October 10, 2013 Posted October 10, 2013 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.
mustang Posted October 10, 2013 Author Posted October 10, 2013 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 ?
-Bane- Posted October 11, 2013 Posted October 11, 2013 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
yvadfulck Posted October 24, 2013 Posted October 24, 2013 just attach the car to the mapelement and detach when a player gets in the car ... dont know if it will work but you could try...
denny199 Posted October 27, 2013 Posted October 27, 2013 Take a look at this: https://community.multitheftauto.com/in ... ls&id=1030
mustang Posted November 3, 2013 Author Posted November 3, 2013 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now