Jump to content

laurens

Members
  • Posts

    49
  • Joined

  • Last visited

Everything posted by laurens

  1. Looks like I get the following error: WARNING: popup.lua: Bad 'element' pointer @ 'addEventHandler'(2) - line 34
  2. Looks like the complete GUI environment in MTA is behaving odd. I created a script that pops up when you load the resource. But it just aint working. popup.lua (client side) popupWindow = guiCreateWindow ( 0.15, 0.2, 0.7, 0.6, "Information", true ) -- Create a window which has "Information" in the title bar. guiWindowSetMovable ( popupWindow, true ) -- Allow movement of the window guiWindowSetSizable ( popupWindow, false ) -- Disallow size change of the window showCursor ( true ) local tabPanel = guiCreateTabPanel ( 0, 0.075, 1, 0.8, true, popupWindow ) -- Create a tab panel which fills the whole window local tabMap = guiCreateTab( "Map Information", tabPanel ) -- Create a tab named "Map Information" on 'tabPanel' local tabHelp = guiCreateTab( "Help", tabPanel ) -- Create another tab named "Help" on 'tabPanel' -- adds a close button button = guiCreateButton( 0.1, 0.9, 0.8, 0.1, "click here to close", true, popupWindow ) -- Create a pretty button -- adds a label (text) to each tab guiCreateLabel(0.02, 0.04, 0.94, 0.2, "This is information about the current map", true, tabMap) -- Text to be shown in the map-tab guiCreateLabel(0.02, 0.04, 0.94, 0.92, "This is help text.", true, tabHelp) -- Text to be shown in the help-tab function changeVisibility ( ) -- This function toggles the GUI from visible to invisible and vice versa outputChatBox ( "The changeVisibility function has been started." ) -- debugging if guiGetVisible ( popupWindow ) then guiSetVisible ( popupWindow, false ) showCursor ( false ) outputChatBox ( "PopupWindow was visible, but not anymore" ) -- debugging else guiSetVisible ( popupWindow, true ) showCursor ( true ) outputChatBox ( "PopupWindow was invisible, but not anymore" ) -- debugging end end bindKey ( "F1", "down", changeVisibility ) -- Toggle the GUI using F1 addEventHandler ( "onClientGUIClick", button, changeVisibility) -- Close the GUI using the button addCommandHandler ( "commands", changeVisibility) -- Toggle the GUI by typing "commands" (without the quotes) What does not work properly in this script? The window is still resizable The close-button does not close the window The F1 key does not toggle the visibility Any ideas about what's wrong?
  3. Looks like I found the problem. It's important that you add the resource WebAdmin (manually) to the admin group inside the acl.xml file. I don't know if it's safe to just give it administrator status, but it works for me!
  4. I found out that the ingame Admin panel does not allow me to add new objects to a group in the ACL manager. Also the webresource doesn't allow me to change anything. Whenever I try to add/delete/edit something it says Could not add object to the group or whatever action I tried to do. Is this supposed to happen?
  5. Hi. I was wondering if it's possible to reload certain files (acl.xml, banlist.xml) without restarting the server. If so, how? Thanks in advance!
  6. Maybe its fun to have a half of a loop. Like when you go very fast, you get a part of the loop, then on top, you put a screw so you get back on four wheels again. its a quick and cool way to go up fast.
  7. Well, a guy told me about this "Live object placements". i had no idea what it was, but he said it would be in a new multiplayer mod called 'multiplayer mayhem'. it sounded quite cool. but the basic idea about it is that objects can move. Something like going up and going down while your driving at it! or maybe even turn around! It is possible, ask the guys from Multiplayer Mayhem, and i think it would be awesomely cool for MTA: DM
  8. With the Mass Move tool, you can find it in the mapping help forum.
  9. already tried that, i even tried to do a little part, and then add everything myself. without succes.
  10. uhmm.. your still saying that now.
  11. im getting quit pissed off, so lets get to the point. i wanted a part of someone elses map, with authorization, in my map. so i delete what i don't need, then i have the part i want, perfect. nothing's wrong. as soon as i move everything in the map to the point where my map is there gets a problem. it moved flawless, but then, when i open it in the map editor, a small part of the map is gone, and whenever i make a new item, and drag it to the part where stuff is gone, it crashes. it keeps doing it, nothing seems to help. do you guys know what the problem is? btw, its not the map limit, because its just 70 objects with 20 objects and spawnpoints not showing up.
  12. can you upload it please? i love to play it now!
  13. ive been playing in Phrosenbyte's server, and it has some maps of King Chaos, like 'King Chaos RollerCoaster' and it really is awesome, its the best map i ever seen in mta, but i can't put it in my server because i can't seem to find the map.. does anyone have a clue were to get it?
  14. maybe its usefull (maybe it is in MTA DM already) to chose in the mapmaker to show enemys on the radar yes or no. because in some situations it could be usefull, and in some not.. just sayin
  15. this thing in DF2 was awesome, put it in DF3 to! and maybe some ideas to make: a giant looping or a screw, an giant jump and something weird, something like going upwards instead of downwards to confuse people =D
  16. No it are real (small) programs where you can push on buttons and use shortcuts. Including speedhacks, Invincibility, Jetpack mode, Flying (in the way of editing handling.cfg but not editing, just pressing a button) and even teleporting!
  17. Lately hacks are more common. I hack to, but only in cheat/freeroam servers. but in race servers its getting anoying. and the massive grow in hackers in MTA: SA is growing because there is a server who is telling a website where all hacks for MTA: SA can be get. I think the MTA should really TRY to stop these hacks, as the Anti-cheat thing is very good, but not stopping these hacks. I hope there will be done something about this.
  18. Very anoying! sinds mta v1.1 is made i cannot make proper maps, because my MTA seems to crash while doing that, it just goes out without a warning..and nothing happens after it, theres not even an error report send! anyone got a solution that might work?
  19. what about this? at the right side it has 3 lines with red text and stuff.. and i also heard some guy saying "i'd love to have as much paramaters on as possible", so i guess those are that parameters hes talking about? and i have heard something about repositioning the chatbox and stuff? im sure i have seen this today on these forums!
  20. OMGZOR YOU TEH FUNNIEST MAN 3V4H!!! ..NOT! please go make other people laugh with your really funny jokes!
  21. i heard about some 'secret commands' that can be used ingame.. but im trying to find them out..so post me all the secret commands that you know so far, and i will list them for other people to use.. and when you post one, tell me where to enter it (console panel?) and what it does ofcourse with a little explanation. thanks in advance
  22. i tried to use the program that was in the community center news, but whoever made it, is a complete idiot, or has a lag of communication, and i think its the last one though..don't take this personally if you are the creater anyway, i was planning to spend a spare hour editing a map of mine, but i made it to high, and i want to lower it, tried to use the tool, but it is complete madness, there isn't a proper manual on how to use it, the interface (as far as you can call it a interface) also sucks.. the .txt file containts 4 lines of so called 'instructions' that you can't understand as a normal MTA map builder.. so now i am asking for a good manual, or something that changes my map called Block city (search in the map database for it) a bit lower. at the hight of let see..something like destruction derby.. i will thank every person that helps me with this!
×
×
  • Create New...