Jump to content

Tete omar

Members
  • Posts

    3,267
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Tete omar

  1. Did you mean select a weapon as image not as button ?
  2. How can i make the object only open when the player hit the marker function omg_script90() objectairportgate1 = createObject(980, 1002.599609375, -2310.19921875, 14.89999961853, 0, 0, 295.99914550781) objectairportgate1Attach1 = createObject(980, 1002.5999755859, -2310.1999511719, 19.89999961853, 0, 0, 295.99914550781) attachElements(objectairportgate1Attach1, objectairportgate1, 0.00081883260281757, 8.0878380686045e-006, 5, 0, 0, 2.5011104298756e-012) omgMoveobjectairportgate1(1) end function omgMoveobjectairportgate1(point) if point == 1 then moveObject(objectairportgate1, 5000, 1002.5999755859, -2310.1999511719, 20, 0, 0, 0) setTimer(omgMoveobjectairportgate1, 5000+7000, 1, 2) end end addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), omg_script90) But the most part of the subject which i cared about is this " function omgMoveobjectairportgate1(point) if point == 1 then moveObject(objectairportgate1, 5000, 1002.5999755859, -2310.1999511719, 20, 0, 0, 0) setTimer(omgMoveobjectairportgate1, 5000+7000, 1, 2) " This is when only the gate move up And this is when only the same gate move down elseif point == 2 then moveObject(objectairportgate1, 5000, 1002.599609375, -2310.19921875, 14.89999961853, 0, 0, 0) setTimer(omgMoveobjectairportgate1, 5000+7000, 1, 1) But i don't want it with continuous movement it just go up and down Up = when the player click on button Down = when the player cross the gate
  3. Thaaaaaaaanks bro !!! i love youuu i 'll never ever forget that : )
  4. GUIEditor_Window ( a nil value )
  5. So when the player hit the marker force taking of money with out click on the button and i tried it if i have no money it show like this -100000 but i think this script has crashed fully : (
  6. Why local Marker = createMarker ( 1007.4000244141, -2302.6999511719, 12.10000038147, "cylinder", 1.29999995, 255, 0, 0, 255 ) addEventHandler('onClientMarkerHit', Marker,function(hitPlayer) if (hitPlayer == localPlayer) then guiSetVisible(GUIEditor_Window[1], true) showCursor(true) end end) function CreateGUIWindow() GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(502,268,480,290,"",false) GUIEditor_Image[1] = guiCreateStaticImage(240,20,229,261,"images/space.png",false,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(155,251,69,30,"Exit",false,GUIEditor_Window[1]) GUIEditor_Memo[1] = guiCreateMemo(15,20,219,221,"=====|MoonTrip|=====\nWelcome to the\" MoonTrip\", the moon trip is wonderful trip full of mystery stuff and nice gravitation,You'll find the absolute fun but try to find fun enough \nbecause time is only 10 minutes you will find above signs should find it in different areas, each one under 5k have a nice time\n====|Ticket|====\nMoon 50,000$=====|MoonTrip|====",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(10,251,91,30,"Buy Ticket",false,GUIEditor_Window[1]) guiMemoSetReadOnly(GUIEditor_Memo[1],true) guiSetVisible(GUIEditor_Window[1], false) addEventHandler("onClientGUIClick", GUIEditor_Button[2], DestroyWindow, false) end addEventHandler("onClientResourceStart", getRootElement(), CreateGUIWindow) function DestroyWindow() guiSetVisible(GUIEditor_Window[1],false) guiSetInputEnabled(false) showCursor(false) end function take() takePlayerMoney (100000) end addEventHandler("onClientGUIClick", GUIEditor_Button[1], takePlayerMoney, false) GUIEditor_Button[1] why it's a nil value ?
  7. what about this ? addEventHandler('onClientMarkerHit', Marker,) ANYWAY thanks i fixed it with my self no help needed
  8. any way local Marker = createMarker ( 1007.4000244141, -2302.6999511719, 12.10000038147, "cylinder", 1.29999995, 255, 0, 0, 255 ) addEventHandler('onClientMarkerHit', Marker, function (hitPlayer) if (hitPlayer == localPlayer) then guiSetVisible(GUIEditor_Window[1], true) showCursor(true) end end) function CreateGUIWindow() GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(502,268,480,290,"Buy Ticket",false) GUIEditor_Image[1] = guiCreateStaticImage(240,20,229,261,"images/space.png",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(9,251,91,30,"Buy Ticket",false,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(155,251,69,30,"Exit",false,GUIEditor_Window[1]) GUIEditor_Memo[1] = guiCreateMemo(15,20,219,221,"=====|MoonTrip|=====\nWelcome to the\" MoonTrip\", the moon trip is wonderful trip full of mystery stuff and nice gravitation,You'll find the absolute fun but try to find fun enough \nbecause time is only 10 minutes you will find above signs should find it in different areas, each one under 5k have a nice time\n====|Ticket|====\nMoon 50,000$=====|MoonTrip|====",false,GUIEditor_Window[1]) guiSetVisible(GUIEditor_Window[1], false) addEventHandler("onClientGUIClick", GUIEditor_Button[2], DestroyWindow, false) end addEventHandler("onClientResourceStart", getRootElement(), CreateGUIWindow) function DestroyWindow() destroyElement(GUIEditor_Window[1]) guiSetInputEnabled(false) showCursor(false) end function takePlayermoney() takePlayerMoney (50000) end addEventHandler("onClientGUIClick", GUIEditor_Button[1], takePlayermoney, true) I told you before in MSN it's a ( nil value ) GUIEditor_Button
  9. local Marker = createMarker ( 1007.4000244141, -2302.6999511719, 12.10000038147, "cylinder", 1.29999995, 255, 0, 0, 255 ) addEventHandler('onClientMarkerHit', Marker, function (hitPlayer) if (hitPlayer == localPlayer) then guiSetVisible(GUIEditor_Window[1], true) showCursor(true) end end) function CreateGUIWindow() GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(502,268,480,290,"Buy Ticket",false) GUIEditor_Image[1] = guiCreateStaticImage(240,20,229,261,"images/space.png",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(9,251,91,30,"Buy Ticket",false,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(155,251,69,30,"Exit",false,GUIEditor_Window[1]) GUIEditor_Memo[1] = guiCreateMemo(15,20,219,221,"=====|MoonTrip|=====\nWelcome to the\" MoonTrip\", the moon trip is wonderful trip full of mystery stuff and nice gravitation,You'll find the absolute fun but try to find fun enough \nbecause time is only 10 minutes you will find above signs should find it in different areas, each one under 5k have a nice time\n====|Ticket|====\nMoon 50,000$=====|MoonTrip|====",false,GUIEditor_Window[1]) guiSetVisible(GUIEditor_Window[1], false) addEventHandler("onClientGUIClick", GUIEditor_Button[2], DestroyWindow, false) end addEventHandler("onClientResourceStart", getRootElement(), CreateGUIWindow) function DestroyWindow() destroyElement(GUIEditor_Window[1]) guiSetInputEnabled(false) showCursor(false) end function takePlayerMoney() takePlayerMoney (50000 ) end addEventHandler('onClientMarkerHit', Marker,) it's a full gamemode but can't set " takeplayerMoney ' up I mean when the player click on Buy Ticket then take 50k then destroy the window
  10. Tete omar

    script error

    Use /debugscript 3 to test your script for a bit mistakes and make sure your script has successfully created
  11. Lol that was a silly mistake, how stupid i am lol
  12. GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Edit = {} GUIEditor_Memo = {} GUIEditor_Window[1] = guiCreateWindow(167,128,949,523,"Chats",false) guiSetVisible(GUIEditor_Window[1], false) GUIEditor_TabPanel[1] = guiCreateTabPanel(32,39,893,460,false,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("Help",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[1]) GUIEditor_Memo[1] = guiCreateMemo(23,27,791,339,"",false,GUIEditor_Tab[1]) guiEditSetReadOnly(GUIEditor_Memo[1],true) GUIEditor_Tab[2] = guiCreateTab("Main",GUIEditor_TabPanel[1]) GUIEditor_Edit[2] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[2]) GUIEditor_Memo[2] = guiCreateMemo(23,27,791,339,"",false,GUIEditor_Tab[2]) guiEditSetReadOnly(GUIEditor_Memo[2],true) guiMemoSetReadOnly(GUIEditor_Memo[1],true) GUIEditor_Tab[3] = guiCreateTab("Arabic",GUIEditor_TabPanel[1]) GUIEditor_Edit[3] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[3]) GUIEditor_Memo[3] = guiCreateMemo(23,27,791,339,"",false,GUIEditor_Tab[3]) guiEditSetReadOnly(GUIEditor_Memo[3],true) GUIEditor_Tab[4] = guiCreateTab("Russian",GUIEditor_TabPanel[1]) GUIEditor_Edit[4] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[4]) GUIEditor_Memo[4] = guiCreateMemo(23,27,791,339,"",false,GUIEditor_Tab[4]) guiEditSetReadOnly(GUIEditor_Memo[4],true) GUIEditor_Tab[5] = guiCreateTab("Spanish",GUIEditor_TabPanel[1]) GUIEditor_Edit[5] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[5]) GUIEditor_Memo[5] = guiCreateMemo(23,27,791,339,"",false,GUIEditor_Tab[5]) guiEditSetReadOnly(GUIEditor_Memo[5],true) GUIEditor_Tab[6] = guiCreateTab("Turkish",GUIEditor_TabPanel[1]) GUIEditor_Edit[6] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[6]) GUIEditor_Memo[6] = guiCreateMemo(23,27,791,339,"",false,GUIEditor_Tab[6]) guiEditSetReadOnly(GUIEditor_Memo[6],true) GUIEditor_Tab[7] = guiCreateTab("French",GUIEditor_TabPanel[1]) GUIEditor_Edit[7] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[7]) GUIEditor_Memo[7] = guiCreateMemo(23,27,791,339,"",false,GUIEditor_Tab[7]) guiEditSetReadOnly(GUIEditor_Memo[7],true) GUIEditor_Tab[8] = guiCreateTab("German",GUIEditor_TabPanel[1]) GUIEditor_Edit[8] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[8]) GUIEditor_Memo[8] = guiCreateMemo(23,27,791,339,"",false,GUIEditor_Tab[8]) guiEditSetReadOnly(GUIEditor_Memo[8],true) GUIEditor_Tab[9] = guiCreateTab("Indian",GUIEditor_TabPanel[1]) GUIEditor_Edit[9] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[9]) GUIEditor_Memo[9] = guiCreateMemo(23,27,791,339,"",false,GUIEditor_Tab[9]) guiEditSetReadOnly(GUIEditor_Memo[9],true) GUIEditor_Tab[10] = guiCreateTab("Ireland",GUIEditor_TabPanel[1]) GUIEditor_Edit[10] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[10]) GUIEditor_Memo[10] = guiCreateMemo(23,27,791,339,"",false,GUIEditor_Tab[10]) guiEditSetReadOnly(GUIEditor_Memo[10],true) GUIEditor_Tab[11] = guiCreateTab("Italian",GUIEditor_TabPanel[1]) GUIEditor_Edit[11] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[11]) GUIEditor_Memo[11] = guiCreateMemo(23,27,791,339,"",false,GUIEditor_Tab[11]) guiEditSetReadOnly(GUIEditor_Memo[11],true) GUIEditor_Tab[12] = guiCreateTab("Portuguese",GUIEditor_TabPanel[1]) GUIEditor_Edit[12] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[12]) GUIEditor_Memo[12] = guiCreateMemo(23,27,791,339,"",false,GUIEditor_Tab[12]) guiEditSetReadOnly(GUIEditor_Memo[12],true) bindKey('f2','down', function () guiSetVisible(GUIEditor_Window[1],not guiGetVisible(GUIEditor_Window[1])) showCursor(guiGetVisible(GUIEditor_Window[1])) end ) It says WARNING: Teest\Test1.lua:All of the script: Bad argument @ 'guiEditSetreadOnly' [Expected gui-edit at argument 1, got gui-memo] Why all of the script and i see no mistake at "GUIEditor_Memo"
  13. GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Edit = {} GUIEditor_Window[1] = guiCreateWindow(167,128,949,523,"Chats",false) GUIEditor_TabPanel[1] = guiCreateTabPanel(32,39,893,460,false,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("Help",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[1]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[1]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[2] = guiCreateTab("Main",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[2]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[2]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[3] = guiCreateTab("Arabic",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[3]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[3]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[4] = guiCreateTab("Russian",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[4]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[4]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[5] = guiCreateTab("Spanish",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[5]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[5]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[6] = guiCreateTab("Turkish",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[6]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[6]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[7] = guiCreateTab("French",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[7]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[7]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[8] = guiCreateTab("German",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[8]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[8]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[9] = guiCreateTab("Indian",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[9]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[9]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[10] = guiCreateTab("Ireland",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[10]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[10]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[11] = guiCreateTab("Italian",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[11]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[11]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[12] = guiCreateTab("Portuguese",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[12]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[12]) guiEditSetReadOnly(GUIEditor_Edit[2],true) guiSetVisible(GUIEditor_TabPanel[1], false) end ) end 1 more thing I want it as a chat window thanks guys : )
  14. This is created window by guieditor and i want the player speak his language in a one of tabs in the script just like if the player german he suppose talk here GUIEditor_Tab[8] = guiCreateTab("German",GUIEditor_TabPanel[1]) but the most important thing, is about how to make this window as chat window and when the player press F2 this window suppose show up so i want make all of script as a chat window " your server is cool by the way i like your server"
  15. Hey guys !!! how are you function funcInput ( player, key, keyState ) local state = "let go of" if ( keyState == "down" ) then state = "pressed" GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Edit = {} GUIEditor_Window[1] = guiCreateWindow(167,128,949,523,"Chats",false) GUIEditor_TabPanel[1] = guiCreateTabPanel(32,39,893,460,false,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("Help",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[1]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[1]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[2] = guiCreateTab("Main",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[2]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[2]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[3] = guiCreateTab("Arabic",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[3]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[3]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[4] = guiCreateTab("Russian",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[4]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[4]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[5] = guiCreateTab("Spanish",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[5]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[5]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[6] = guiCreateTab("Turkish",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[6]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[6]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[7] = guiCreateTab("French",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[7]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[7]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[8] = guiCreateTab("German",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[8]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[8]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[9] = guiCreateTab("Indian",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[9]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[9]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[10] = guiCreateTab("Ireland",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[10]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[10]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[11] = guiCreateTab("Italian",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[11]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[11]) guiEditSetReadOnly(GUIEditor_Edit[2],true) GUIEditor_Tab[12] = guiCreateTab("Portuguese",GUIEditor_TabPanel[1]) GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[12]) GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[12]) guiEditSetReadOnly(GUIEditor_Edit[2],true) guiSetVisible(GUIEditor_TabPanel[1], false) function bindTheKeys ( player, commandName ) bindKey ( player, "F1", "down", funcInput ) bindKey ( player, "F1", "up", funcInput ) end ) end I want when the player type in "guiCreateEdit" the chat show up on another "guiCreateEdit" Example GUIEditor_Edit[1] = guiCreateEdit(25,388,762,35,"",false,GUIEditor_Tab[1]) <~~~ the player type here GUIEditor_Edit[2] = guiCreateEdit(23,27,791,339,"",false,GUIEditor_Tab[1]) <~~~ the chat show up here guiEditSetReadOnly(GUIEditor_Edit[2],true) <~~~ Readonly Thanks for reading. and i hope you understood me.
  16. I want create a new chat window with bindkey just like when the player press L then he can chat in new window not main chat and make it as languages chat window like ru,ar,es etc.. Thank you all.
  17. When the player type command outputchatbox show up function playrules(thePlayer, command) outputChatBox("#FFFB0ENo cheat No spam No disrespect ", thePlayer,255,255,255,true) end addCommandHandler("rules", playrules) I tried but i failed
  18. Haha. The only thing that it needs is an XML file or a database to store the blacklisted users. Can you post ur code here ?
  19. blacklist and people names? hahaha funny You just put a mess code that make no sense and totally wrong. Ok nvm
  20. It's blacklist .. simple when you type in chat or f8 / blacklist then show the people names in blacklist ...
  21. Hey i want create a blacklist for the server but my script doesn't work function blacklist(thePlayer, command) local blacklist = outputChatBox(thePlayer) if (outputChatBox ) then outputChatBox("ignore this i 'll put the names later", thePlayer,255,255,255,true) addCommandHandler("blacklist", blacklist, thePlayer) end end) i tried but i fail.
×
×
  • Create New...