20.05.2016, 15:47
I dont understand why theres a ho on your function, if you're not using it, first you did
hote = ho; then hote = variable[hoid] + 1; which means hote = ho is useless
hote = ho; then hote = variable[hoid] + 1; which means hote = ho is useless