Knuck

Members
  • Content Count

    271
  • Joined

  • Last visited

  • Days Won

    1

Knuck last won the day on September 16 2018

Knuck had the most liked content!

Community Reputation

21 Decent

3 Followers

About Knuck

  • Rank
    Peon
  • Birthday 01/11/2003

Details

  • Gang
    SAEG
  • Location
    Antigua
  • Occupation
    Bag Packer
  • Interests
    LUA

Recent Profile Visitors

1,497 profile views
  1. Knuck

    Help me House system

    Contact the author Or re download the official script
  2. Knuck

    Help with trigger dx with i

    Works thank you.
  3. Knuck

    Help with trigger dx with i

    Im trying to render it with the data from server and be able to remove render when hide inventory, but ty for try lil
  4. Knuck

    Help with trigger dx with i

    When i trigger showInventory
  5. Knuck

    Help with trigger dx with i

    targetFunctionData[ 1 ]( timeSlice, unpack( arguments ) ) attempt to call field '?'
  6. Knuck

    Help with trigger dx with i

    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
  7. Knuck

    Help with trigger dx with i

    @IIYAMA With peace of my code .
  8. Knuck

    Help with trigger dx with i

    @IIYAMA example.
  9. Knuck

    Help with trigger dx with i

    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
  10. Knuck

    [HELP] Level requirements

    It goes to the needed xp the just breaks even when I added the rest levels
  11. Knuck

    [HELP] Level requirements

    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
  12. Hello guys , its me saeg developer lately we have been going trhough some rough patches and wish to make a whole new gameplay please can you just suggest something anything that u will like to see changed or modified
  13. Server Progress; Server has been opened !
  14. Server Progress; CnR Progress : 100% Civilian Jobs : 100% Criminal Activities : 100% Social Interactions : 85% Jobs : 98% Server : 97% We will soon be opened set back to 1 day because :
  15. Knuck

    [LF] Staffs / Developers | RPG [Non-Paid]

    I love to see people giving it all there best ! yes ! i like the server please keep working hard like i was ❤️ and you will grow very far. PS: need simple stuff sms me ik your exports / database type