Help with location code

So have some code from a script (not mine) and want the function of having a message with the location.

Ex. [Update] MYNAME : MESSAGE | @ LOCATION

Here is the code;

sv.lua

--Position
	if message == "/d" and enable_police_commands == true then
		CancelEvent()
		--------------
		TriggerClientEvent('TwentyLocation', s)

cl.lua

RegisterNetEvent('TwentyLocation')
AddEventHandler('TwentyLocation', function()
	TriggerEvent('getLocation')
	TriggerEvent('getDirection')
	
	TriggerServerEvent('chatEvent', "^2[^7Update^2]^7 " .. myname .. " |^2 " .. street .. "^7 (^2" .. current_zone .. "^7) - " .. direction .. " Bound")
end)

Thanks for any help

EDIT the enable police commands still has to remain there…