Тоесть после строки function main это вставлять? и код той или иной фишки в массивы?
Можешь подрубить?
function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(100) end
ip, port = sampGetCurrentServerAddress()...