I am trying to add the ability to spawn a vehicle through the cloak rooms. I am getting an error when I use the function GetVehicleHash(“taxi”). The error is: “attempt to call a nil value (global ‘GetHashKey’)”
I copied the code I am using from here:
https://wiki.fivem.net/wiki/CreateVehicle
Any ideas on what to do?