Jump to content

xeon17

Members
  • Posts

    1,903
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by xeon17

  1. Is this what are you looking for? https://community.multitheftauto.com/in ... ls&id=9846
  2. http://sqlitebrowser.org/
  3. xeon17

    Mod Panel

    Copy my code again.
  4. xeon17

    Mod Panel

    So many errors. You should learn to check the wiki, every function and events have arguments. function permission () for _,player in pairs (getElementsByType('player')) do local accName = getAccountName ( getPlayerAccount ( player ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Moderator" ) ) then triggerClientEvent(player, "openModerator", getRootElement()) setTimer(triggerClientEvent,3000,1,player,'openModerator',root) end end end addEventHandler("onResourceStart", resourceRoot,, permission)
  5. xeon17

    Mod Panel

    Show your full code.
  6. xeon17

    Mod Panel

    The player isn't defined outside the function, create a function which will bind the key when the resource starts and when the player join in server.
  7. xeon17

    Mod Panel

    It should be function permission (player) instead of function permission (thePlayer) You guys should learn some Scripting basics before you try to help other peoples.
  8. 'Doesn't work' If you want to be helped, then help us to help you. Give us some more information about the problem, your code have more than 50 lines. What exactly doesn't work?
  9. http://gtamap.delux-host.com/converter/
  10. Write sqlite instead of libmysql.
  11. xeon17

    Dx

    This error means that you have to remove one end
  12. xeon17

    Dx

    Here is a example: addEventHandler("onClientResourceStart", resourceRoot, function () Button = guiCreateButton (363,350,152,44, "", false) -- Creation of the button, whenever the player enter in server- guiSetAlpha (Button, 0.00) -- Set alpha of the button to 0.00 addEventHandler('onClientRender', root, Render) -- Render of the Rectangle end) addEventHandler ( "onClientGUIClick", resourceRoot, function () if (source == Button) then outputChatBox('Click') end end) function Render () dxDrawRectangle (363,350,152,44,tocolor(255,0,0,255)) end
  13. xeon17

    Dx

    First you're creating a button whenever a player clicks on this button, but the button isn't created then and the result is this error. You have to create the buttons and other GUI stuff when the client enters in the server on the event onClientResourceStart. Dx functions only work when they are inside a render, so use the event onClientRender to make the rectangle and text visible.
  14. Im too stupid to understard this, and Im not good understand english language. Then you shouldn't create a server, or script whatever.
  15. Check the wiki page of triggerEvent the first argument need to be a string and not a player element.
  16. This error for example clearly says, the first argument need to be a string (the name of the event which you want to trigger) and not a player. WARNING: DayZ\inventory.lua:756: Bad argument @ 'triggerEvent' [Expected string at argument 1, got player]
  17. xeon17

    help

    This error is because the function updateBrowser doesn't exist.
  18. xeon17

    help

    I know what's the problem but you really should learn to use /debugscript3
  19. I haven't understood you well, if you have the same errors with the latest DayZ version then report it to the developers of DayZ.
  20. Why don't you use the latest DayZ version? viewtopic.php?f=108&t=88188
  21. Login into your admin account then open the Console using the key F8 and write start webbrowser after this just press the key ALT to show the cursor and click on the CEF icon which is near the GTA radar. @Ontopic This is one of the best MTA updates recently, great job MTA Team!
  22. https://community.multitheftauto.com/
  23. Awesome tutorial! Good organization leads to successful and optimized scripts
×
×
  • Create New...