25.05.2018, 12:19
I'm planning to improve the pilot job in my Server, but the issue is:
I don't know how to script nearest checkpoint.
Example:
1. There are 3 Airports, Los Santos Airport, San Fierro Airport, Las Venturas Airport
2. You are in a plane, flying above Red County
3. When you do /flight, it detects the nearest airport from the player, so the checkpoint is Set to LSA Gate(Los Santos Airport Gate)
Any help will be appreciated, I'm still newbie.
I don't know how to script nearest checkpoint.
Example:
1. There are 3 Airports, Los Santos Airport, San Fierro Airport, Las Venturas Airport
2. You are in a plane, flying above Red County
3. When you do /flight, it detects the nearest airport from the player, so the checkpoint is Set to LSA Gate(Los Santos Airport Gate)
Any help will be appreciated, I'm still newbie.