addEvent ( "startWindow", true )
addEventHandler("startWindow", root,
function()
GUIEditor.window[1] = guiCreateWindow(166, 96, 545, 402, "credits", false)
guiWindowSetSizable(GUIEditor.window[1], false)
guiSetVisible(GUIEditor.window[1],false)
GUIEditor.staticimage[1] = guiCreateStaticImage(16, 31, 152, 127, "banshee.png", false, GUIEditor.window[1])
end
)
-- server
function player_Spawn ( posX, posY, posZ, spawnRotation, theTeam, theSkin, theInterior, theDimension )
triggerClientEvent ( "startWindow", source )
end
addEventHandler ( "onPlayerSpawn", getRootElement(), player_Spawn )
what are you trying to do with the bindKey exactly?