matt-d-rat/mf-insurance — pull request #4 by matt-d-rat (2014-09-21 21:09:39+00:00)
Title: Story/recover insured vehicle

- Adds the action to recover vehicles that are insured and not "alive".
- Added checks to ensure that the spawn location is suitable for water based vehicles. Tested and verified that this works. May need to add additional checks in the future for air vehicles such as planes, only allowing them to spawn at airports.
- Added checks to ensure the player has enough space in their inventory for the key to be added.
- Added a db call to update the original ObjectUID for the newly spawned vehicle ObjectUID in the database. Current implementation is very dirty... should probably swap out for addPublicVariableEventHandler calls but haven't found a way to test this locally as of yet.