function getCurrentServer()
if sampGetCurrentServerName():find("Phoenix") then
return 1
elseif sampGetCurrentServerName():find("Tucson") then
return 2
elseif sampGetCurrentServerName():find("Scottdale") then
return 3
elseif sampGetCurrentServerName():find("Chandler") then
return 4
elseif sampGetCurrentServerName():find("Brain") then
return 5
elseif sampGetCurrentServerName():find("Saint") then
return 6
elseif sampGetCurrentServerName():find("Mesa") then
return 7
elseif sampGetCurrentServerName():find("Rock") then
return 8
elseif sampGetCurrentServerName():find("Yuma") then
return 9
elseif sampGetCurrentServerName():find("Surprise") then
return 10
elseif sampGetCurrentServerName():find("Prescott") then
return 11
elseif sampGetCurrentServerName():find("Glendale") then
return 12
elseif sampGetCurrentServerName():find("Kingman") then
return 13
elseif sampGetCurrentServerName():find("Winslow") then
return 14
elseif sampGetCurrentServerName():find("Payson") then
return 15
elseif sampGetCurrentServerName():find("Gilbert") then
return 16
elseif sampGetCurrentServerName():find("Show-Low") then
return 17
elseif sampGetCurrentServerName():find("Casa-Grande") then
return 18
elseif sampGetCurrentServerName():find("Page") then
return 19
else
return -1
end
end