GUIEditor = {
staticimage = {}
}
addEventHandler("onClientResourceStart", resourceRoot,
function()
local screenW, screenH = guiGetScreenSize()
GUIEditor.staticimage[1] = guiCreateStaticImage((screenW - 188) / 2, (screenH - 138) / 2, 188, 138, ":renderPhoto/tara.png", false)
end
)
addEventHandler("onClientRender", root,
function ( )
setElementRotation ( GUIEditor.staticimage[1], getElementRotation ( GUIEditor.staticimage[1] ) + 10 )
end
)
سويت كدآ ومآ ظبط
Debug :
ERROR: renderPhoto/client.lua:14:attempt to perform arithmetic on a boolean value
@N3xT