Sziasztok. Kezdő LUA scripter vagyok, és meg szeretném kérdezni, hogy hogyan kell a kliens oldali function-ból, betölteni egy szerver oldali function-t. 
Példa: 
kliens oldal: 
function gui1()
   screenWidth, screenHeight = guiGetScreenSize()
   windowWidth, windowHeight = 300, 400
   x = (screenWidth/2) - (windowWidth/2)
   y = (screenHeight/2) - (windowHeight/2)
   
   gui = guiCreateStaticImage(x, y, 300, 400, \"gui.png\", false)
   showCursor(true)
   szerel = guiCreateLabel(35, 320, 120, 60, \"\", false, gui)
   bezar = guiCreateLabel(177, 320, 120, 60, \"\" , false, gui)
   addEventHandler(\"onClientGUIClick\", szerel, oprava, false)
   addEventHandler(\"onClientGUIClick\", bezar, gombteszt2, false)
end
addCommandHandler(\"szerel\", gui1)
function gombteszt2()
   showCursor(false)
   guiSetVisible(gui, false)
   
end
 szerver oldal: 
function oprava (player, command)
local auto = getPedOccupiedVehicle(player)
fixVehicle(auto)
end
 Remélem érthetően fogalmaztam, várom a válaszokat.