Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function GetCurentTownName()
- local pedCoords = GetEntityCoords(PlayerPedId())
- local town_hash = Citizen.InvokeNative(0x43AD8FC02B429D33, pedCoords ,1)
- if town_hash == GetHashKey("Annesburg") then
- return "Annesburg"
- elseif town_hash == GetHashKey("Annesburg") then
- return "Annesburg"
- elseif town_hash == GetHashKey("Armadillo") then
- return "Armadillo"
- elseif town_hash == GetHashKey("Blackwater") then
- return "Blackwater"
- elseif town_hash == GetHashKey("BeechersHope") then
- return "BeechersHope"
- elseif town_hash == GetHashKey("Braithwaite") then
- return "Braithwaite"
- elseif town_hash == GetHashKey("Butcher") then
- return "Butcher"
- elseif town_hash == GetHashKey("Caliga") then
- return "Caliga"
- elseif town_hash == GetHashKey("cornwall") then
- return "Cornwall"
- elseif town_hash == GetHashKey("Emerald") then
- return "Emerald"
- elseif town_hash == GetHashKey("lagras") then
- return "lagras"
- elseif town_hash == GetHashKey("Manzanita") then
- return "Manzanita"
- elseif town_hash == GetHashKey("Rhodes") then
- return "Rhodes"
- elseif town_hash == GetHashKey("Siska") then
- return "Siska"
- elseif town_hash == GetHashKey("StDenis") then
- return "Saint Denis"
- elseif town_hash == GetHashKey("Strawberry") then
- return "Strawberry"
- elseif town_hash == GetHashKey("Tumbleweed") then
- return "Tumbleweed"
- elseif town_hash == GetHashKey("valentine") then
- return "Valentine"
- elseif town_hash == GetHashKey("VANHORN") then
- return "Vanhorn"
- elseif town_hash == GetHashKey("Wallace") then
- return "Wallace"
- elseif town_hash == GetHashKey("wapiti") then
- return "Wapiti"
- elseif town_hash == GetHashKey("AguasdulcesFarm") then
- return "Aguasdulces Farm"
- elseif town_hash == GetHashKey("AguasdulcesRuins") then
- return "Aguasdulces Ruins"
- elseif town_hash == GetHashKey("AguasdulcesVilla") then
- return "Aguasdulces Villa"
- elseif town_hash == GetHashKey("Manicato") then
- return "Manicato"
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement