Jump to content

Scripting

Members
  • Posts

    109
  • Joined

  • Last visited

Everything posted by Scripting

  1. سو زي كدا 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)
  2. Scripting

    Some help!

    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
  3. Scripting

    A code!

    Hi all, I know this code to set button property: guiSetProperty I want help: How i can change color text button with using that and thx.
  4. دي لعبه قديمه ابي حق السيرفرات الجديده!
  5. Hi all, I want just a link to downoald gamemode [baseMode] and thx!
  6. السلام عليكم جيت اطل بس رابط لتحميل لعبة BaseMode و شكرا
  7. 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!
  8. 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!
  9. 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!
  10. Scripting

    Help!!!

    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?
  11. Scripting

    How

    Hi all createExplosion How i can set this on player damage write a text in chat ("you hited by Super Bullets" addEventHandler("onPlayerDamage",
  12. Scripting

    a Code?

    Hi All, I want ask if exist a event function for onMapStopping?
  13. Scripting

    How?

    and How i can not cancelEvent() ? This code exist in gameMode BaseMode? How i can change it??!
  14. Scripting

    How?

    Hi People, I want just a code to set Bullets weapon (Rocket Luncher) don t explod or hit and thx.
  15. Scripting

    how?

    Ok, I can change this with a code? I use a Command to enable Bullets on (Rocket Luncher) weapon
  16. Scripting

    how?

    Hi People, I m playing in GameMode BaseMode, If i fire by weapon(Rocket Luncher) The bullets go and don t hit! How i can fix that and thx
  17. Scripting

    How!

    Hi People, I m making a server ffs in website http://www.serverffs.com. But the server is for MTA:SA 1.1 and not 1.3. Pls help me to set server MTA:SA 1.3 and thx .
  18. Scripting

    Need help

    Topic moved to "Support for MTASA 1.x > Server". This what s?
  19. Scripting

    Need help

    How i contact it?
  20. Scripting

    Need help

    Hi People, I m making a server ffs in website http://www.serverffs.com. But the server is for MTA:SA 1.1 and not 1.3. Pls help me to set server MTA:SA 1.3 and thx .
  21. Yea yoou can t ,You will come to my server before see the bug tomorrow i tell you
  22. Work the Bug! Come to my server and look it ip:196.217.53.10 ^port:22003 pass:123456
  23. 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
  24. 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)
×
×
  • Create New...