Jump to content

Gripex

Members
  • Content Count

    7
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Gripex

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Gripex

    [Help]Loops

    Any help!
  2. Gripex

    [Help]Loops

    local Playeritems = { ["Item1"] = true, ["Item2"] = true, ["Item3"] = true, ["Item4"] = true } addEvent("Items", true) addEventHandler("Items", root, function (Items) if assignShow then if #Items == 0 then return end assigns = Items img1 = Items[1] and {["img"] = "items/"..Items[1]["item"]..".png", ["key"] = Items[1]["key"]} img2 = Items[2] and {["img"] = "items/"..Items[2]["item"]..".png", ["key"] = Items[2]["key"]} img3 = Items[3] and {["img"] = "items/"..Items[3]["item"]..".png", ["key"] = Items[3]["key"]} img4 = Items[4] and {["img"] = "items/"..Items[4]["item
  3. Yes, Server Side had items name and saved on DB its return to client side but i want when it return of get item name of server side just make photo of it as i want, u understand me? I mean if return Test so if get item called Test it return to image called "Name" But i want data to save it
  4. i mean there are Much Items to make it export img with other name and if i restarted scripts then names what i typed it it will remove! u got me ? it's exports item names from ServerSide but i want it export other name of image if assigns[i]["item"] == "Buster" then assigns[i]["item"] = "pizza" end if assigns[i]["item"] == "Other" then assigns[i]["item"] = "pizza" end if assigns[i]["item"] == "Test2" then assigns[i]["item"] = "burger" end u got me ?
  5. There aren't way to make list for changing item? Without command And I need count from 1 to 5 inside it bcs if item in img2 or any one so it work fine
  6. addEvent("showItems", true) addEventHandler("showItems", root, function (assignItems) if assignShow then if #assignItems == 0 then iprint(assignShow) return end assigns = assignItems img1 = assignItems[1] and {["img"] = ":images/"..assignItems[1]["item"]..".png", ["key"] = assignItems[1]["key"]} img2 = assignItems[2] and {["img"] = ":images/"..assignItems[2]["item"]..".png", ["key"] = assignItems[2]["key"]} img3 = assignItems[3] and {["img"] = ":images/"..assignItems[3]["item"]..".png", ["key"] = assignItems[3]["key"]} img4 = assignItems[4] and {["img"] = ":
  7. function Remove() if assignShow == false then return false end for i = 1,5 do if isMouseInRectPosition(assignSlots[i][1], assignSlots[i][2], assignSlots[i][3], assignSlots[i][4]) then if assigns[i] then triggerServerEvent("remove", resourceRoot, assigns[i]["key"], assigns[i]["item"]) iprint(assigns[i]["key"], assigns[i]["item"]) end end end end addEvent("showItems", true) addEventHandler("showItems", root, function (assignItems) if assignShow then if #assignItems == 0 then iprint(assignShow) return end assigns = assignItems loca
×
×
  • Create New...