Jump to content

Et-win

Members
  • Posts

    1,390
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Et-win

  1. guiCreateGridList guiGridListAddRow guiGridListSetItemText Look on the wiki for Grid List code's, if that isn't too much work for you, instead of letting us do all the work: https://wiki.multitheftauto.com/wiki/El ... I/Gridlist
  2. Or even better: getElementData Click on it and read what arguments it need!
  3. Tell us what errors. >.>
  4. Cancel it? cancelEvent() --Event: onPlayerChangeNick
  5. Hehe, you're welcome
  6. Just use a variable like isMapRestarted and set it to true if the map has been restarted. Then when the map ends, set it back to false.
  7. You PM'ed me about this and I gave you the answer, but still making a topic?...
  8. By added it to mtaserver.conf located to the deathmatch map. Scroll down and you will see those lines: <resource src="webadmin" startup="1" protected="0" /> Add more of these to start resources automatically.
  9. Go to the race gamemode resource. Then open de modes map and then destructionderby. Change these lines: if getActivePlayerCount() <= 1 then 1 to 0 of course.
  10. Et-win

    dxGui Help

    Yes. You can try it too instead of asking, you know?
  11. Et-win

    dxGui Help

    Like I said already, you put a string in the 3th argument of bindKey. It has to be a function.
  12. That problem is here already for a long time. Always if I create one, it shows in my own server but not in other big servers. Would too like to know why.
  13. addEventHandler("onClientGUIClick",myButton1,health1, false) All 4th arguments needs false.
  14. Et-win

    dxGui Help

    Learn to look... function dxCreateLabel(367,27,,153,15,"Made By [Gta-Ar]#Ivan7",tocolor(255,0,0,255),default-bold,1,"right","top",blue) end ) "67,27,,1", 2 times ',' And this @ 3th argument: bindKey( "F2", "down", "rules" )
  15. if (isObjectInACLGroup("user." ..getAccountName(account), aclGetGroup("Admin"))) then --Not in Admin group. outputChatBox("#FFFFFF[Admin] #00ccffError: Could not find the datatype!",player,unpack(scriptcol[2])) --Is just outputting because it's not in an 'if'.
  16. Et-win

    Help pls,

    Just make a script which detects a huge frame drop for serveral times. And a limit of course.
  17. objects = { {1237, 2838.873, 1712.0601, 9.844}, {1237, 2855.843, 1712.0601, 9.844}, {1237, 2823.625, 1712.0601, 9.844}, } objects2 = { } for placeNumber, elementData in ipairs(objects) do local gObject = createObject(elementData[1], elementData[2], elementData[3], elementData[4]) table.insert(createdObjects, gObject) end for placeNumber, elementData in ipairs(objects2) do destroyElement(elementData) end objects2 = { } I think this would work.
  18. As soon as you create the object, put it into a table. Then if you destroy all objects, then destroy everything you have put into that table.
  19. I guess (Not sure) with getElementsByType("object") and putting it on the resourceRoot. Otherwise, put the variable into another table, so you can delete everything using that table.
  20. for placeNumber, elementData in ipairs(objects) do --code end Loop through them PS: If you destroy them from the table, I think they will not be able to be created anymore. You will have to do that with a table for positions, size, etc. only.
  21. Maybe I'd want to help, but it's easier for us if you tell us what doesn't work.
  22. "It doesn't work, help!", "It doesn't work, fix it!", "It do"... Tell us what DOESN'T work, tell us what DEBUGSCRIPT 3 gives... Saying "It doesn't work" doesn't help us at ALL to help you.......
  23. I would say this: fetchRemote
  24. Et-win

    Internet Speed

    Nice photoshop. -- Mine:
  25. setElementData --Or setAccountData Last one is better I think.
×
×
  • Create New...