Sziasztok!
Azt szeretném megkérdezni, hogy mi a baja a scriptnek?
Server oldal:
function login()
screenWidth, screenHeight = guiGetScreenSize()
windowWidth, windowHeight = 400, 450
x = (screenWidth/2) - (windowWidth/2)
y = (screenHeight/2) - (windowHeight/2)
image = guiCreateStaticImage(x, y, 400, 450, \"loginb.png\", false)
showCursor(true)
end
addEventHandler(\"onPlayerJoin\", getRootElement, login)
Meta:
<meta>
<info type=\"script\" version=\"1.0\" author=\"xMaximerr\" />
<script src=server.lua\" type=\"server\" />
<file src=\"loginb.png\" />
</meta>