[Release][1.0] Call Services System

I don’t know how I can be more explicit than the template.lua file… If you create a taxi job : you call TriggerServerEvent("player:serviceOn", "taxi") when he takes is service and TriggerServerEvent("player:serviceOff", "taxi") when he stop it… And for civil you call :

local plyPos = GetEntityCoords(GetPlayerPed(-1), true)
TriggerServerEvent("call:makeCall", "taxi", {x=plyPos.x,y=plyPos.y,z=plyPos.z})

when you want to call a taxi in service… Now you have integrate my script in yours that’s why I said FOR DEVELOPERS in description…

1 Like