Network

Members
  • Content Count

    275
  • Joined

  • Last visited

  • Days Won

    1

Network last won the day on September 16 2018

Network had the most liked content!

Community Reputation

21 Decent

3 Followers

About Network

  • Rank
    Peon
  • Birthday 01/11/2003

Details

  • Gang
    Nobody
  • Location
    Antigua
  • Occupation
    Healthy Crackhead
  • Interests
    Lua

Recent Profile Visitors

1,595 profile views
  1. How can this help my situation? example please.
  2. Hello Code: addEventHandler("onClientRender", root, function() dxDrawRectangle(0, 93, 1366, 143, tocolor(16, 15, 15, 197), false) dxDrawText("Rank Up !", 610, 60, 860, 136, tocolor(56, 229, 10, 212), 2.50, "pricedown", "left", "top", false, false, false, false, false) dxDrawText(" Mugger", 534, 166, 908, 226, tocolor(237, 174, 3, 212), 1.90, "pricedown", "left", "top", false, false, false, false, false) end ) So basically i am wondering if there is a way i can make a dx text stay one place like if the text was Chief Of Gangster it will be out of bound and not where i want it or Mugger will be far from where i want it under Rank Up! Any suggestions?
  3. RPG - GTA 5 ! These days I've been thinking about creating a RPG - GTA 5 server . I know it's not easy but since 2017 august I have been learning Lua (MTA) and I'm already familiar with the process, however, I'll need someone else to help me in this new adventure! What we need, DX GUI (Click Elements, Moving Boxes, Fading, Drawing) Designing (Buttons, Boxes, Logos) Mods (Vehicles , Handlings) Decent English (Important for Coding) Resources, Jobs Bank Public Vehicles spawner Vehicle Shops Inventory Trade system Jail System Criminal Activities VIP system Bank Robbery Store Robbery Smugglers Missions Contact , Leave your information in the page Message me on this forums Conclusion I want our works secured and protected i want this server to reach somewhere in mta with our hard effort i need a devoted team
  4. local playerList = guiCreateGridList(0.80, 0.40, 0.15, 0.35, true) guiGridListAddColumn(playerList, "Player", 0.85) for _, player in ipairs(getElementsByType("player") ) do local accName = getAccountName ( getPlayerAccount ( player ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) do guiGridListAddRow(playerList, getPlayerName(player)) end end Haven't coded in a while check this
  5. Contact the author Or re download the official script
  6. Im trying to render it with the data from server and be able to remove render when hide inventory, but ty for try lil
  7. When i trigger showInventory
  8. targetFunctionData[ 1 ]( timeSlice, unpack( arguments ) ) attempt to call field '?'
  9. function renderInventory(itens, quant) i = 0 local screenW, screenH = guiGetScreenSize() isOpen = true for k,v in ipairs(itens) do i = i + 20 dxDrawImage(screenW * 0.3441, screenH * 0.3841, screenW * 0.3097*v["item"], screenH * 0.5313, ":GTCHUD/img/background.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(screenW * 0.2936, screenH * 0.3503, screenW * 0.4085, screenH * 0.0898, ":GTCpolicecomputer/button.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawText("User Inventory", screenW * 0.4129, screenH * 0.3568, screenW * 0.4736, screenH * 0.3789, tocolor(255, 255, 255, 255), 3.00, "default", "left", "top", false, false, false, false, false) dxDrawText("Item", screenW * 0.3755, screenH * 0.4531, screenW * 0.4627, screenH * 0.4896, tocolor(255, 255, 255, 255), 1.20, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("Stock", screenW * 0.5461, screenH * 0.4531, screenW * 0.6332, screenH * 0.4896, tocolor(255, 255, 255, 255), 1.20, "default-bold", "left", "top", false, false, false, false, false) dxDrawText(""..v["item"].."", screenW * 0.3755, screenH * 0.4974+i, screenW * 0.4627, screenH * 0.5339, tocolor(255, 255, 255, 255), 1.20, "default-bold", "left", "top", false, false, false, false, false) dxDrawText(""..v["quant"].."", screenW * 0.5461, screenH * 0.4948+i, screenW * 0.6332, screenH * 0.5313, tocolor(255, 255, 255, 255), 1.20, "default-bold", "left", "top", false, false, false, false, false) end end addEvent("showInventory", true) addEventHandler("showInventory", getRootElement(), function(itens, quant) addRenderEvent(renderInventory, "onClientRender", itens, quant) end ) addEvent("hideInventory", true) addEventHandler("hideInventory", getRootElement(), function () isOpen = false removeRenderEvent("onClientRender",root,renderInventory) end) Dosn't work. And yes i added the source
  10. @IIYAMA With peace of my code .
  11. Hello i have an inventory script and it works but its dx im wondering how to trigger it . addEvent("showInventory", true) addEventHandler("showInventory", getRootElement(), function(itens, quant) addEventHandler("onClientRender",root,function() i = 0 local screenW, screenH = guiGetScreenSize() isOpen = true for k,v in ipairs(itens) do i = i + 20 dxDrawImage(screenW * 0.3441, screenH * 0.3841, screenW * 0.3097, screenH * 0.5313, ":GTCHUD/img/background.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawImage(screenW * 0.2936, screenH * 0.3503, screenW * 0.4085, screenH * 0.0898, ":GTCpolicecomputer/button.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawText("User Inventory", screenW * 0.4129, screenH * 0.3568, screenW * 0.4736, screenH * 0.3789, tocolor(255, 255, 255, 255), 3.00, "default", "left", "top", false, false, false, false, false) dxDrawText("Item", screenW * 0.3755, screenH * 0.4531, screenW * 0.4627, screenH * 0.4896, tocolor(255, 255, 255, 255), 1.20, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("Stock", screenW * 0.5461, screenH * 0.4531, screenW * 0.6332, screenH * 0.4896, tocolor(255, 255, 255, 255), 1.20, "default-bold", "left", "top", false, false, false, false, false) dxDrawText(""..v["item"].."", screenW * 0.3755, screenH * 0.4974+i, screenW * 0.4627, screenH * 0.5339, tocolor(255, 255, 255, 255), 1.20, "default-bold", "left", "top", false, false, false, false, false) dxDrawText(""..v["quant"].."", screenW * 0.5461, screenH * 0.4948+i, screenW * 0.6332, screenH * 0.5313, tocolor(255, 255, 255, 255), 1.20, "default-bold", "left", "top", false, false, false, false, false) end end) end ) addEvent("hideInventory", true) addEventHandler("hideInventory", getRootElement(), function () destroyElement(GUIEditor.window[1]) isOpen = false removeEventHandler("onClientRender",root,ourdx) end) I want to render it but have acess to item,quant . and when hideInventory remove the render
  12. It goes to the needed xp the just breaks even when I added the rest levels
  13. hey , so firstly thank you for looking at my problem and here is my problem so i have a level system and i want to make diffrent xp needed to level up example LEVELS = { [1] = 3000 [2] = 6000 }, see 1 need 3000 xp and 2 need 6000 xp