Jump to content

xXMADEXx

Members
  • Posts

    2,718
  • Joined

  • Last visited

Everything posted by xXMADEXx

  1. It would be something like this local Colshape = { } local ColShapes = { { THE COLSHAPE ARGUMENTS HERE }, { 0, 20, 200, 200, 200, 50 } -- The example } for i,v in ipairs ( ColShapes ) do Colshape [ i ] = createColCuboid ( v [ 1 ], v [ 2 ], v [ 3 ], v [ 4 ], v [ 5 ], v [ 6 ] ) end
  2. What do you mean? You could make a table, or just do it how it currently is..
  3. Well, here is a ghetto example that you can use: local y = 0 local rx, ry = guiGetScreenSize function text ( ) if ( y == 20 ) then break end dxDrawRectangle ( 0, y, rx ry ) y = y + 2 end addEventHandler ( "onClientRender", root, text )
  4. Very impressive.
  5. You dont need to set it for resolutions sense it haves a parent. You only need to set GUI/DX elements that dont have a parent for all resolutions.
  6. addEventHandler ( 'onClientGUIClick', thebuttonelement, function ( ) addEventHandler ( "onClientRender", root, theDxFunction ) end ) function theDxFunction ( ) dxDrawRectangle ( 0, 0, 500, 500 ) end
  7. ^^ You should upload this to community..
  8. Theres one way that i've thought of doing it, but never have.. Not really sure if it would work. Something like this: local y = -20 local rx, ry = guiGetScreenSize ( ) addEventHandler ( "onClientRender", root, function ( ) dxDrawRectangle ( 0, y, rx, ry ) if ( x == 20 ) then break end x = x + 1 end ) something like that (I recommand Sqlite, its a little faster) For MySQL/SQL you'll need: dbConnect dbExec dbQuery dbPoll
  9. Just client
  10. Events: --For Both onClientResourceStart addEvent triggerServerEvent triggerClientEvent -- For DX onClientRender Functions: --For The GUI guiCreateWindow guiCreateStaticImage -- DX dxDrawRectangle dxDrawImage removeEventHandler -- Both guiCreateEdit guiCreateButton guiGetText guiGetScreenSize addEventHandler addAccount getAccount logIn
  11. For some reason (im not sure why) when i included a whole bunch of color codes it wouldn't output for me either.. Try putting an "outputChatBox ( "PassedOld" ) after the current outputchatbox to see if the code is even getting passed the one that is there.
  12. What are the errors?
  13. Next time, please use the [lua] tag, not the
  14. Why not try it, then ask if i dosn't work?
  15. Try to set dimension. Maybe it will work. Note: I am not sure Yes, change of the dimension will not allow the players to see each other in the same interior. But, with this resources you'll need to config it so it is able to use different dimensions (just make it so it will change the players dimension and create the marker in the dimension.)
  16. This means that it most likely worked (not sure why it didnt return true.) Runcode is basically just an in-game scripter. The scripts that are written in it are deleted when the resources is stopped though.
  17. Thank you, you have helped us all very much.
  18. xXMADEXx

    Help!

    All of the top servers are ran on Mysql and SQlite
  19. xXMADEXx

    Help!

    Any errors in debugscript?
  20. No, bind the key on the event "onClientMapStarting"
  21. That map look amazing.
  22. Its just these functions: guiCreateWindow guiCreateButton guiCreateLabel guiCreateStaticImage guiSetFont guiLabelSetColor
  23. xXMADEXx

    Marker

    Not a request page. Make it your self, or pay someone.
  24. xXMADEXx

    how i can ?

    Hum.. Im really not sure how they managed to do this.. Ill give them a visit and try to figure it out though.
  25. xXMADEXx

    Scripts

    Sorry, but this isn't a request page. You can try to find a script at https://community.multitheftauto.com/ or pay someone to make it.
×
×
  • Create New...