Hello there,
Please excuse my noob questions, I'm quite new to creating scripts for MTA:SA.
I was wondering if anyone could help me out regarding creating a function (Script) to spawn your car on (near) your cords.
For example: If I bought a car in MTA:SA (My server) and someone came and stole my car and drove off, I could click a button(Get Car) and it will spawn(Teleport) my owned car to me even if the guy is driving it. I'm sure I saw this function in another server, But unfortunately I only have little knowledge creating scripts for MTA:SA.
I was thinking that I could be done with (Get element) or something like that, But as I said I don’t know where to start, Because of noob knowledge of creating scripts for MTA:SA.
Also I was thinking of having a button called (Boom) and that would set my owned car on fire and blow up, so if someone stole my owned car I could set it on fire and blow it up, then click the (Get Car) button to re spawn the car on my cords.
If someone could help me or point me into the correct direction that would be superb.
Thank you ever so much.
-Mayfair