Jump to content

Perfect

Members
  • Posts

    563
  • Joined

  • Last visited

Everything posted by Perfect

  1. in vice city, if you press f1 then you will get reply.
  2. thnx and i try to set read only but gui did'nt set read only. GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Memo = {} GUIEditor_Button = {} GUIEditor_Window[1]= guiCreateWindow(119,64,799,590,"Server Help Page",false) GUIEditor_TabPanel[1] = guiCreateTabPanel(10,24,780,557,false,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("Server Commands",GUIEditor_TabPanel[1]) GUIEditor_Memo[1] = guiCreateMemo(6,7,768,520,"1. Commands",false,GUIEditor_Tab[1]) GUIEditor_Tab[2] = guiCreateTab("Stuff",GUIEditor_TabPanel[1]) GUIEditor_Memo[2] = guiCreateMemo(6,7,767,518,"1 Admins:-\n1. Perfect",false,GUIEditor_Tab[2]) GUIEditor_Button[1] = guiCreateButton(863,89,44,22,"Close",GUIEditor_TabPanel[1], false) function serverShow ( ) guiSetVisible ( GUIEditor_Window[1], not guiGetVisible ( GUIEditor_Window[1] ) ) showCursor ( guiGetVisible ( GUIEditor_Window[1] ) ) guiSetInputEnabled ( guiGetVisible ( GUIEditor_Window[1] ) ) guiMemoSetReadOnly( GUIEditor_Memo[1], true) guiMemoSetReadOnly( GUIEditor_Memo[2], true) end addEvent("serverShow",true) addEventHandler("serverShow",root,serverShow) function close_it() if (source == GUIEditor_Button[1]) then --- change the button to whatever button u made to close window guiSetVisible( GUIEditor_Window[1], false ) -- change the window, to whatever ur gui is showCursor(false) end end addEventHandler("onClientGUIClick", GUIEditor_Button[1], close_it ) -- leave the "close_it" part and change the button ...
  3. What ? really ? via scripting or something, if via scripting then which functions should we use ?
  4. i did'nt understand. where i put this and which commands ? addEventHandler ( "onClientGUIClick", GUIEditor_Window[1], close, false ) but where is close button (just confused)
  5. you telling to me read about gui's ? I am always suck at gui's that's why i ask here (i always confused at gui's. they go from my head or they come in my ear and go out from another ) anyway, i used helpPage command to open and close Thnx!
  6. thnx and can you please do code for close button ? (last thing)
  7. can you tell me about close button and read only ? Please
  8. ok i copied and its worked but its open when i start resource so please can you make its not open when resource start and add close button and set read only ? Please
  9. Hi All, in gta vc or in gta sa, if we press f1 then we get reply. that is possible in mta ? via scripting or anything ?
  10. hm, can you put your script here please ? (meta,server and client file. whole script)
  11. window is not visible. Edit: another i notice. i got warning too WARNING: Loading script failed: Server\helppage_gui.lua:9: unfinished string near "'1) Commands'
  12. Error ERROR: Server triggered clientside event serverShow, but event is not added clientside
  13. Hi All, i made a gui but i can't make it open with command, can you guys please help me. Here it is -- client file GUIEditor_Window = {} GUIEditor_TabPanel = {} GUIEditor_Tab = {} GUIEditor_Memo = {} GUIEditor_Window[1] = guiCreateWindow(119,64,799,590,"Server Help Page",false) GUIEditor_TabPanel[1] = guiCreateTabPanel(10,24,780,557,false,GUIEditor_Window[1]) GUIEditor_Tab[1] = guiCreateTab("Server Commands",GUIEditor_TabPanel[1]) GUIEditor_Memo[1] = guiCreateMemo(6,7,768,520,"1) Commands \n \n",false,GUIEditor_Tab[1]) GUIEditor_Tab[2] = guiCreateTab("Stuff",GUIEditor_TabPanel[1]) GUIEditor_Memo[2] = guiCreateMemo(6,7,767,518,"1) Admins:-\n1. Perfect \n",false,GUIEditor_Tab[2]) function serverShow () getVisible = guiGetVisible (GUIEditor_Window[1]) if (getVisible == true) then guiSetVisible (GUIEditor_Window[1], false) showCursor (false) guiSetInputEnabled(false) end if (getVisible == false) then showCursor (true) end end addEvent("serverShow",true) addEventHandler("serverShow",root,serverShow) -- server file addCommandHandler ( "helpPage", function ( player, cmd ) if hasObjectPermissionTo ( player, "function.banPlayer" ) then triggerClientEvent(player,"serverShow",player) else outputChatBox(" Access Denied ",player,255,0,0) end end )
  14. oh, why that is not object moving generator and why there is no mta (Title) but Thanks!!
  15. Give answer to donators!
  16. can you please give me txd and dff of get ?
  17. and that players is going down or just warped ?
  18. Good job, btw When you will release!?
  19. oh ok, did you have that script or anyone else who can give me Please ?
  20. I just can read 1st topic, can't 2nd and 3rd. it says "You are not authorised to read this forum." what that means ? They are the old topic "REPORT COMMUNITY CENTER RESOURCES HERE" You can't see it because the topic in Hidden Trash. ah, i know topic. then how you got that topic url and can you tell me why admin_skycity is deleted because i can't see that topic ? or is there is any other way to see ?
  21. ok, thnx for telling but next time use edit button
  22. can i ask why its did'nt work before ?
  23. need to register ok, i have register but need to approval by admin
×
×
  • Create New...