Scripting
Members-
Posts
109 -
Joined
-
Last visited
Everything posted by Scripting
-
سو زي كدا function onClick () selectedRow, selectedCol = guiGridListGetSelectedItem( GUIEditor_Grid[1]) hisName= guiGridListGetItemText( GUIEditor_Grid[1], selectedRow, selectedCol ) guiSetText ( GUIEditor_Label[5], tostring(hisName)) end addEventHandler( "onClientGUIClick", GUIEditor_Grid[1], onClick)
-
Hi all, I have this code to get selected Row and remove it in I Click on a Button: selectedRow, selectedCol = guiGridListGetSelectedItem( playerGrilds) hisName = guiGridListGetItemText( playerGrilds, selectedRow, selectedCol ) guiGridListRemoveRow(selectedRow) But this : guiGridListRemoveRow(selectedRow) Don t work!I think wrong value. How fix and thx
-
دي لعبه قديمه ابي حق السيرفرات الجديده!
-
Hi all, I want just a link to downoald gamemode [baseMode] and thx!
-
السلام عليكم جيت اطل بس رابط لتحميل لعبة BaseMode و شكرا
-
Hi all, I m playing in a gamemode [baseMode] This gamemode have maps: genre(arenas and bases). I have problem in map (genre base) when i kill a player with helicopter the map stopped! What s this problem and how i fix it and thx!
-
Hi all, I m playing in a gamemode [baseMode] This gamemode have maps: genre(arenas and bases). I have problem in map (genre base) when i kill a player with aircaft the map stopped! What s this problem and how i fix it and thx! If don t have idea for this gamemode i can give you my server ip to do that!
-
Hi all, I m start mod voice for my windows server ,he say in Console this error: Voice is not enabled on this server! How fix it to talk voice and thx!
-
Pls help my server closed and in serverffs web site writed: Your server is currently inaccessible for our control panel! Our engineers have been notified and will resolve this problem as soon as possible. Please do not contact us regarding this problem! We have already been notified, it will be resolved as soon as possible. How i starty it?
-
Yea yoou can t ,You will come to my server before see the bug tomorrow i tell you
-
Work the Bug! Come to my server and look it ip:196.217.53.10 ^port:22003 pass:123456
-
The Code work correctly if i do the Client-side 1 and if I change The Argument of this guiSetText(money1,"The Money: ".. PlayerMoney) to guiSetText(money1, PlayerMoney) The code work a bug All Label set Text to (playerMoney) Do that and you look
-
Hi all, I have a bug if i do this: client-side: name1 = guiCreateLabel(50,10,410,20,"test1",true) name2 = guiCreateLabel(50,25,410,20,"test2",true) money1 = guiCreateLabel(300,10,410,20,"20000",true) money2 = guiCreateLabel(300,25,410,20,"17000",true) function show () local playerMoney = getPlayerMoney(getLocalPlayer()) local name = getPlayerName(getLocalPlayer()) if ( playerMoney >= tonumber (guiGetText(money1)) ) then guiSetText(name2,guiGetText(name1)) guiSetText(name1,"The Name: ".. name) guiSetText(money2,guiGetText(money1)) guiSetText(money1,"The Money: ".. PlayerMoney) [This Change] end end addEventHandler("onClientRender", getRootElement(), show) The Code work Correctly 100%; and if I change this Code Argument : guiSetText(money1,"The Money: ".. PlayerMoney) The Code work a bug: The Label(money1,mney2) change text to (playerMoney) and the Label(name1,name2) change text to (name). Pls fix this bug set The Code work Correctly: client-side: name1 = guiCreateLabel(50,10,410,20,"test1",true) name2 = guiCreateLabel(50,25,410,20,"test2",true) money1 = guiCreateLabel(300,10,410,20,"20000",true) money2 = guiCreateLabel(300,25,410,20,"17000",true) function show () local playerMoney = getPlayerMoney(getLocalPlayer()) local name = getPlayerName(getLocalPlayer()) if ( playerMoney >= tonumber (guiGetText(money1)) ) then guiSetText(name2,guiGetText(name1)) guiSetText(name1,"The Name: ".. name) guiSetText(money2,guiGetText(money1)) guiSetText(money1,playerMoney) [This The Change Arguments ] end end addEventHandler("onClientRender", getRootElement(), show)
