Jump to content

Car spawn by house.


davedavy

Recommended Posts

  • Moderators

All is possible in MTA but you have to script it ...

You have to found the position where the car have to be spawned for each house and "attach" this information to the house element

( by a setElementData( yourHouse, "SpawnX, yourXPosition ), setElementData( yourHouse, "SpawnY, yourYPosition ), setElementData( yourHouse, "SpawnZ, yourZPosition ) )

Then when a player buy a car, you have to get his house and get the X,Y,Z position with getElementData

Then create his car to those coordinates.

It's not very easy for a novice to make this system :|

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