-- G.U.I.
GUIEditor_Window = {}
GUIEditor_Button = {}
GUIEditor_Label = {}
GUIEditor_Edit = {}
GUIEditor_Progress = {}
GUIEditor_Grid = {}
GUIEditor_Window[1] = guiCreateWindow(0.0156,0.2666,0.2539,0.3008,"Telefon - Play K796J",true)
GUIEditor_Label[1] = guiCreateLabel(14,28,149,20,"Kontakty",false,GUIEditor_Window[1])
guiLabelSetColor(GUIEditor_Label[1],255,255,255)
guiLabelSetVerticalAlign(GUIEditor_Label[1],"top")
guiLabelSetHorizontalAlign(GUIEditor_Label[1],"left",false)
GUIEditor_Button[1] = guiCreateButton(11,53,53,22,"PD",false,GUIEditor_Window[1])
GUIEditor_Button[2] = guiCreateButton(64,53,53,22,"Policja",false,GUIEditor_Window[1])
GUIEditor_Button[3] = guiCreateButton(117,53,53,22,"Taxi",false,GUIEditor_Window[1])
GUIEditor_Button[4] = guiCreateButton(170,53,53,22,"Szpital",false,GUIEditor_Window[1])
GUIEditor_Label[2] = guiCreateLabel(11,85,188,16,"Anulowanie Publicznych serwisow",false,GUIEditor_Window[1])
guiLabelSetColor(GUIEditor_Label[2],255,255,255)
guiLabelSetVerticalAlign(GUIEditor_Label[2],"top")
guiLabelSetHorizontalAlign(GUIEditor_Label[2],"left",false)
GUIEditor_Button[5] = guiCreateButton(11,111,53,22,"PD",false,GUIEditor_Window[1])
GUIEditor_Button[6] = guiCreateButton(64,111,53,22,"Policja",false,GUIEditor_Window[1])
GUIEditor_Button[7] = guiCreateButton(117,111,53,22,"Taxi",false,GUIEditor_Window[1])
GUIEditor_Button[8] = guiCreateButton(170,111,53,22,"Szpital",false,GUIEditor_Window[1])
GUIEditor_Button[9] = guiCreateButton(223,53,75,22,"Administracja",false,GUIEditor_Window[1])
GUIEditor_Button[10] = guiCreateButton(228,111,70,22,"Administracja",false,GUIEditor_Window[1])
GUIEditor_Label[3] = guiCreateLabel(13,143,150,17,"Znajomi:",false,GUIEditor_Window[1])
guiLabelSetColor(GUIEditor_Label[3],255,255,255)
guiLabelSetVerticalAlign(GUIEditor_Label[3],"top")
guiLabelSetHorizontalAlign(GUIEditor_Label[3],"left",false)
GUIEditor_Button[11] = guiCreateButton(11,164,64,32,"Zwolaj impreze!",false,GUIEditor_Window[1])
GUIEditor_Button[12] = guiCreateButton(234,164,64,32,"Zakoncz impreze",false,GUIEditor_Window[1])
GUIEditor_Button[13] = guiCreateButton(14,217,34,19,"1",false,GUIEditor_Window[1])
GUIEditor_Button[14] = guiCreateButton(48,217,34,19,"2",false,GUIEditor_Window[1])
GUIEditor_Button[15] = guiCreateButton(82,217,34,19,"3",false,GUIEditor_Window[1])
GUIEditor_Button[16] = guiCreateButton(116,217,34,19,"4",false,GUIEditor_Window[1])
GUIEditor_Button[17] = guiCreateButton(150,217,34,19,"5",false,GUIEditor_Window[1])
GUIEditor_Button[18] = guiCreateButton(184,217,34,19,"6",false,GUIEditor_Window[1])
GUIEditor_Button[19] = guiCreateButton(218,217,34,19,"7",false,GUIEditor_Window[1])
GUIEditor_Button[20] = guiCreateButton(252,217,34,19,"8",false,GUIEditor_Window[1])
GUIEditor_Button[21] = guiCreateButton(286,217,30,19,"9",false,GUIEditor_Window[1])
GUIEditor_Button[22] = guiCreateButton(117,236,34,19,"*",false,GUIEditor_Window[1])
GUIEditor_Button[23] = guiCreateButton(151,236,34,19,"0",false,GUIEditor_Window[1])
GUIEditor_Button[24] = guiCreateButton(189,236,34,19,"#",false,GUIEditor_Window[1])
GUIEditor_Edit[1] = guiCreateEdit(77,167,155,30,"",false,GUIEditor_Window[1])
GUIEditor_Progress[1] = guiCreateProgressBar(218,30,81,18,false,GUIEditor_Window[1])
guiProgressBarSetProgress(GUIEditor_Progress[1],85)
GUIEditor_Label[4] = guiCreateLabel(167,32,48,16,"Bateria:",false,GUIEditor_Window[1])
guiLabelSetColor(GUIEditor_Label[4],255,255,255)
guiLabelSetVerticalAlign(GUIEditor_Label[4],"top")
guiLabelSetHorizontalAlign(GUIEditor_Label[4],"left",false)
GUIEditor_Grid[1] = guiCreateGridList(0.5211,0.6016,0.0039,0.0049,true)
guiGridListSetSelectionMode(GUIEditor_Grid[1],2)
-- functions...
function enterMarker1(hitPlayer)
if hitPlayer == getLocalPlayer() then
guiSetVisible (GUIEditor_Window[1], true) -- replace "yourGUIelement" with the name of your GUI window.
end
end
addEventHandler ( "onClientMarkerHit", s1, enterMarker1)
1 error pls help !:
at tempt to call global 'GuiCreateWindow'