Server
All Server Exports
1. Change Taxi Price
exports['loki_taxi']:changePrice(price --[[ float/int ]], source --[[ int ]])
Same like using the /taxiprice command as the driver
2. Toggle Taximeter Status
exports['loki_taxi']:toggleTaximeter(source --[[ int ]])
Same as pressing Shift as the driver
3. Call Taxi
exports['loki_taxi']:callTaxi(source --[[ int ]])
Same as calling a taxi with the command
4. Call Taxi
exports['loki_taxi']:cancelCall(source --[[ int ]])
Cancels the current call, just like using the command to cancel it
5. Start NPC Call
exports['loki_taxi']:npcCall(source --[[ int ]])
Starts a new NPC call or cancels the current npc call
Last updated
Was this helpful?