Jump to content

Tando

Members
  • Posts

    121
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Tando

  1. same error : Crimes/crimes.lua:221: attempt to call global 'Timer' (a nil value) Timer( function () for _, plr in ipairs(Element.getAllByType("player")) do if (getWantedPoints(plr) and not getElementData(plr,"ArrestedBy")and not getElementData(plr,"Jailed") == true ) then if (getWantedPoints(plr) > 0) then setWantedPoints(plr, getWantedPoints(plr) - 1) end end end end, 60 * 1000, 0 )
  2. Tando

    Help Jobs bugged

    Not working my script working as if u haven't clan u can't take job name CIA Msg"You Have to be Part in clan for take it" like if player isn't in clan so he can't take this job just players who have clan take it
  3. Tando

    Help Jobs bugged

    NOT working and iam mean if clan = None so Can't take job name CIA LIKE Thugs
  4. Tando

    Help Jobs bugged

    iam not mean like that i mean if player haven't clan can't take it
  5. function firstscript (player) if getElementData(player, "Clan") ~= "None" then if getElementData(player, "Job", "CIA") then exports.Messages:sendClientMessage( "You Have to be part in gang for take it ",player, 255, 0, 0) return end end end it's not working This script working as if player isn't in clan so can't take CIA Jobs
  6. addEventHandler("onPlayerTarget", getRootElement(), function(targetEl) if exports.becho:isCriminal(source) then if(targetEl) then if(getElementType(targetEl) == "ped") then if(not getElementData(source, "rob")) then if(getElementData(targetEl, "robLoc") ~= false) then robloc = getElementData(targetEl, "robLoc") setElementData(source, "rob", robloc) setElementData(source, "Charges", tonumber(getElementData(source, "Charges"))+1000) if getElementInterior(source) ==0 then triggerClientEvent(source, "StartRobTimer", getRootElement()) end exports.Messages:sendClientMessage("Store Robbery: Don't get arrested/killed or you will fail the robbery",source, 255, 100, 0) end end end end end end) addEventHandler("onResourceStop", getResourceRootElement(getThisResource()), function() for k, v in ipairs(getElementsByType("player")) do setElementData(v, "rob", false) end end) not working when player quit from interior it's not shown rob time or anything just giving msg
  7. Tando

    [HelpP]

    function test ( player ) if getElementData(player, "Job") == "CIA" then if getElementData(player, "Clan") == "BBY" then outputChatBox("You can't get this job ",player) end end end thats u mean?
  8. Tando

    [HelpP]

    function test ( ) if getElementData(player, "Job") == "CIA" then if getElementData(player, "Clan") == "BBY" then outputChatBox("You can't get this job ",player) end Is This function true ? i want clan can't get this job oh this job for public but i need just 1clan can't get it
  9. Tando

    I AM BANNED

    +1 Just Wait Admin answer u
  10. Tando

    Trade

    not working
  11. Tando

    Trade

    bind in client + command in server.lua
  12. Tando

    Trade

    itens = { [-1] = "Money", [0] = "Gas Can", [1] = "Full Rack", [2] = "Buster", [3] = "Double D-Luxe", [4] = "Sallad Meal", [5] = "Wrench", [6] = "Medic Kit", [7] = "Gas Mask", [8] = "Tire Repair Kit", [9] = "2x Nitrous", [10] = "5x Nitrous", [11] = "10x Nitrous", [12] = "Heroine", [13] = "Weed", [14] = "LSD", [15] = "DMT", [16] = "Armour", [17] = "Paint", [18] = "Heroine Seed", [19] = "Weed Seed", [20] = "LSD Seed", [21] = "DMT Seed", [22] = "Mistery Box", [23] = "Colt 45", [24] = "Taser", [25] = "Deagle", [26] = "M4", [27] = "AK-47", [28] = "Uzi", [29] = "Tec-9", [30] = "MP5", [31] = "Shotgun", [32] = "Sawn-off", [33] = "Spas-12", [34] = "Rifle", [35] = "Sniper", [36] = "Minigun", [37] = "RPG", [38] = "Heat-Seeking RPG", [39] = "Flamethrower", [40] = "Grenade", [41] = "Satchel", [42] = "Molotov", [43] = "Tear Gas", [44] = "Parachute", } function getKeyFromValueInTable(a, b) for k,v in pairs(a) do if v == b then return k end end return false end function table.removeValue(tab, val) for index, value in ipairs(tab) do if value == val then table.remove(tab, index) return index end end return false end globalitems = { } function getGlobalItems() return globalitems end function removeFromGlobalItems(acc) for i,v in ipairs(globalitems) do if v[1] == acc then table.remove(globalitems,i) removeFromGlobalItems(acc) break end end end function getPlayerItemCount(player,item) local rquant = exports["SAUGInventory"]:getPlayerItemCount(player,getKeyFromValueInTable(itens,item)) return rquant end function takePlayerItem(player,item,qt) exports["SAUGInventory"]:takePlayerItem(player,getKeyFromValueInTable(itens,item),tonumber(qt)) end function addPlayerItem(player,item,qt) exports["SAUGInventory"]:addPlayerItem(player,getKeyFromValueInTable(itens,item),(qt)) end addCommandHandler("trade",function(player,cmd) if getElementData(player,"inventory.items") and not isGuestAccount(getPlayerAccount(player)) then triggerClientEvent(player,"onTradeCommand",player,globalitems) end end) addEvent("onAddMarketButtonPress",true) addEventHandler("onAddMarketButtonPress",root,function(amount,price,item,priv,player) local rquant = getPlayerItemCount(source,item) local itemInMarket = false if not player then player = "N/A" end if rquant >= tonumber(amount) then for i,v in ipairs(globalitems) do if itemInMarket == false and v[1] == getAccountName(getPlayerAccount(source)) and v[2] == item and v[5] == player then itemInMarket = true local oldq = v[4] if priv == false then takePlayerItem(source,item,amount) table.remove(globalitems,i) table.insert(globalitems,{getAccountName(getPlayerAccount(source)),item,price,tonumber(amount + oldq),"N/A"}) elseif priv == true and getPlayerFromName(player) then takePlayerItem(source,item,amount) table.remove(globalitems,i) table.insert(globalitems,{getAccountName(getPlayerAccount(source)),item,price,tonumber(amount + oldq),player}) elseif priv == true and not getPlayerFromName(player) then exports["SAUGMessages"]:sendClientMessage("No such player with that name!",source,255,255,0) end triggerClientEvent(source,"updateMyMarket",source,{["item"]=item,["quant"]=tonumber(amount + oldq),["price"]=price,["to"]=player},"add",i) triggerClientEvent(source,"updateAllMarket",source,globalitems) break end end if itemInMarket == false then if priv == false then takePlayerItem(source,item,amount) table.insert(globalitems,{getAccountName(getPlayerAccount(source)),item,price,tonumber(amount),"N/A"}) elseif priv == true and getPlayerFromName(player) then takePlayerItem(source,item,amount) table.insert(globalitems,{getAccountName(getPlayerAccount(source)),item,price,tonumber(amount),player}) elseif priv == true and not getPlayerFromName(player) then exports["SAUGMessages"]:sendClientMessage("No such player with that name!",source,255,255,0) end triggerClientEvent(source,"updateMyMarket",source,{["item"]=item,["quant"]=tonumber(amount),["price"]=price,["to"]=player},"set") triggerClientEvent(source,"updateAllMarket",source,globalitems) end end end) addEvent("onRemoveMarketButtonPress",true) addEventHandler("onRemoveMarketButtonPress",root,function(amount,quant,item,player) if tonumber(amount) <= tonumber(quant) then for i,v in ipairs(globalitems) do local name = v[1] local itemn = v[2] local price = v[3] local quant = v[4] local to = v[5] if name == getAccountName(getPlayerAccount(source)) and itemn == item and to == player and tonumber(quant) == tonumber(amount) then table.remove(globalitems,i) addPlayerItem(source,item,amount) triggerClientEvent(source,"updateAllMarket",source,globalitems) elseif name == getAccountName(getPlayerAccount(source)) and itemn == item and tonumber(quant) > tonumber(amount) then table.remove(globalitems,i) table.insert(globalitems,{getAccountName(getPlayerAccount(source)),item,price,tonumber(quant - amount),to}) addPlayerItem(source,item,amount) triggerClientEvent(source,"updateAllMarket",source,globalitems) end end end end) addEvent("onBuyMarketButtonPress",true) addEventHandler("onBuyMarketButtonPress",root,function(name,amount,item,price,quant,player) local money = getPlayerMoney(source) if money >= tonumber(amount)*tonumber(price) then for i,v in ipairs(globalitems) do if v[1] == name and v[2] == item and (player == "N/A" or getPlayerName(source) == player) then if v[4] == tonumber(amount) then table.remove(globalitems,i) takePlayerMoney(source,tonumber(amount)*tonumber(price)) addPlayerItem(source,item,amount) exports["SAUGMessages"]:sendClientMessage("You bought "..amount.."x "..item..".",source,0,255,0) triggerClientEvent(source,"updateAllMarket",source,globalitems) for i,v in ipairs(getElementsByType("player")) do if getAccountName(getPlayerAccount(v)) == name then givePlayerMoney(v,tonumber(amount)*tonumber(price)) exports["SAUGMessages"]:sendClientMessage("You recieved $"..(tonumber(amount)*tonumber(price)).." from "..getPlayerName(source).." (TRADE)",v,0,255,0) end end elseif v[4] > tonumber(amount) then table.insert(globalitems,{name,item,price,tonumber(quant-amount),v[5]}) table.remove(globalitems,i) takePlayerMoney(source,tonumber(amount)*tonumber(price)) addPlayerItem(source,item,amount) exports["SAUGMessages"]:sendClientMessage("You bought "..amount.."x "..item..".",source,0,255,0) triggerClientEvent(source,"updateAllMarket",source,globalitems) for i,v in ipairs(getElementsByType("player")) do if getAccountName(getPlayerAccount(v)) == name then givePlayerMoney(v,tonumber(amount)*tonumber(price)) exports["SAUGMessages"]:sendClientMessage("You recieved $"..(tonumber(amount)*tonumber(price)).." from "..getPlayerName(source).." (TRADE)",v,0,255,0) end end end end end end end) addEventHandler("onResourceStop",resourceRoot,function() for i,v in ipairs(globalitems) do for k,player in ipairs(getElementsByType("player")) do local account = getAccountName(getPlayerAccount(player)) if v[1] == account then addPlayerItem(player,v[2],v[4]) end end end end) addEvent("clientUpdateMyMarket",true) addEventHandler("clientUpdateMyMarket",root,function() local acc = getAccountName(getPlayerAccount(source)) local mymarket = {} for i,v in ipairs(globalitems) do if v[1] == acc then table.insert(mymarket,{["item"]=v[2],["quant"]=v[4],["price"]=v[3],["to"]=v[5]}) end end triggerClientEvent(source,"updateMyMarket",source,mymarket,"new") end) setTimer(function() for i,v in ipairs(getElementsByType("player")) do triggerClientEvent(v,"updateAllMarket",v,globalitems,"onlyglobal") end end,5000,0)
  13. Tando

    Trade

    itens = { [-1] = "Money", [0] = "Gas Can", [1] = "Full Rack", [2] = "Buster", [3] = "Double D-Luxe", [4] = "Sallad Meal", [5] = "Wrench", [6] = "Medic Kit", [7] = "Gas Mask", [8] = "Tire Repair Kit", [9] = "2x Nitrous", [10] = "5x Nitrous", [11] = "10x Nitrous", [12] = "Heroine", [13] = "Weed", [14] = "LSD", [15] = "DMT", [16] = "Armour", [17] = "Paint", [18] = "Heroine Seed", [19] = "Weed Seed", [20] = "LSD Seed", [21] = "DMT Seed", [22] = "Mistery Box", [23] = "Colt 45", [24] = "Taser", [25] = "Deagle", [26] = "M4", [27] = "AK-47", [28] = "Uzi", [29] = "Tec-9", [30] = "MP5", [31] = "Shotgun", [32] = "Sawn-off", [33] = "Spas-12", [34] = "Rifle", [35] = "Sniper", [36] = "Minigun", [37] = "RPG", [38] = "Heat-Seeking RPG", [39] = "Flamethrower", [40] = "Grenade", [41] = "Satchel", [42] = "Molotov", [43] = "Tear Gas", [44] = "Parachute", } bindKey("F7","down","trade") mymarket = { } setTimer(function() for i,v in ipairs(mymarket) do triggerServerEvent("clientUpdateMyMarket",localPlayer) end end,50,0) addEvent("updateMyMarket",true) addEventHandler("updateMyMarket",root,function(data,arg,row) if arg == "add" then table.remove(mymarket,row) table.insert(mymarket,data) elseif arg == "set" then table.insert(mymarket,data) elseif arg == "new" then mymarket = {} for i,v in ipairs(data) do table.insert(mymarket,data[i]) end if isElement(mymarketgrid) then local sel = guiGridListGetSelectedItem(mymarketgrid) if sel == -1 then destroyElement(mymarketgrid) mymarketgrid = guiCreateGridList(9, 182, 190, 146, false, tradewdw) guiGridListAddColumn(mymarketgrid, "My Market", 0.5) guiGridListAddColumn(mymarketgrid, "Amount", 0.5) guiGridListAddColumn(mymarketgrid, "Price", 0.5) guiGridListAddColumn(mymarketgrid, "Private", 0.5) for i,v in ipairs(mymarket) do local row = guiGridListAddRow(mymarketgrid) guiGridListSetItemText(mymarketgrid, row, 1, v["item"], false, false) guiGridListSetItemText(mymarketgrid, row, 2, v["quant"].." Unit(s)", false, false) guiGridListSetItemText(mymarketgrid, row, 3, "$"..v["price"], false, false) guiGridListSetItemText(mymarketgrid, row, 4, v["to"], false, false) end end end end end) function getKeyFromValueInTable(a, b) for k,v in pairs(a) do if v == b then return k end end return false end local sx,sy = guiGetScreenSize() addEvent("onTradeCommand",true) addEventHandler("onTradeCommand", root, function(global) if isElement(tradewdw) then destroyElement() else local inv = getElementData(localPlayer,"inventory.items") tradewdw = guiCreateWindow((sx-500)/2, (sy-480)/2, 500, 480, "SAUG Trade System", false) guiWindowSetSizable(tradewdw, false) mygridlist = guiCreateGridList(9, 24, 190, 153, false, tradewdw) guiGridListAddColumn(mygridlist, "Inventroy", 0.5) guiGridListAddColumn(mygridlist, "Amount", 0.5) for i,v in ipairs(inv) do local row = guiGridListAddRow(mygridlist) guiGridListSetItemText(mygridlist, row, 1, v["item"], false, false) guiGridListSetItemText(mygridlist, row, 2, v["quant"], false, false) end maingrid = guiCreateGridList(202, 24, 289, 344, false, tradewdw) guiGridListAddColumn(maingrid, "Player", 0.4) guiGridListAddColumn(maingrid, "Item", 0.35) guiGridListAddColumn(maingrid, "Price", 0.2) guiGridListAddColumn(maingrid, "Quantity", 0.3) guiGridListAddColumn(maingrid, "Private", 0.3) for i,v in ipairs(global) do local row = guiGridListAddRow(maingrid) local r,g,b = 255,255,255 if (v[5] ~= "N/A" or v[5] ~= "") and v[5] ~= getPlayerName(localPlayer) then r,g,b = 255,0,0 end if v[5] == getPlayerName(localPlayer) then r,g,b = 0,255,0 end if v[5] == "N/A" then r,g,b = 255,255,255 end guiGridListSetItemText(maingrid, row, 1, v[1], false, false) guiGridListSetItemText(maingrid, row, 2, v[2], false, false) guiGridListSetItemText(maingrid, row, 3, "$"..v[3], false, false) guiGridListSetItemText(maingrid, row, 4, v[4].." Unit(s)", false, false) guiGridListSetItemText(maingrid, row, 5, v[5], false, false) guiGridListSetItemColor(maingrid, row, 1,r,g,b,255) guiGridListSetItemColor(maingrid, row, 2,r,g,b,255) guiGridListSetItemColor(maingrid, row, 3,r,g,b,255) guiGridListSetItemColor(maingrid, row, 4,r,g,b,255) guiGridListSetItemColor(maingrid, row, 5,r,g,b,255) end setprice = guiCreateEdit(9, 353, 84, 28, "", false, tradewdw) pricelabel = guiCreateLabel(10, 334, 83, 19, "Price ($/unit)", false, tradewdw) guiSetFont(pricelabel, "default-bold-small") guiLabelSetColor(pricelabel, 101, 254, 0) guiLabelSetHorizontalAlign(pricelabel, "center", false) guiLabelSetVerticalAlign(pricelabel, "center") privlabel = guiCreateLabel(10, 381, 190, 23, "Private Trade?", false, tradewdw) guiSetFont(privlabel, "default-bold-small") guiLabelSetColor(privlabel, 101, 254, 0) guiLabelSetHorizontalAlign(privlabel, "center", false) guiLabelSetVerticalAlign(privlabel, "center") privedit = guiCreateEdit(27, 405, 175, 29, "", false, tradewdw) addbtn = guiCreateButton(9, 438, 93, 32, "Add to Market", false, tradewdw) guiSetFont(addbtn, "default-bold-small") guiSetProperty(addbtn, "NormalTextColour", "FF65FE00") removebtn = guiCreateButton(109, 438, 93, 32, "Remove from Market", false, tradewdw) guiSetFont(removebtn, "default-bold-small") guiSetProperty(removebtn, "NormalTextColour", "FF65FE00") privcheck = guiCreateCheckBox(9, 411, 15, 17, "", false, false, tradewdw) setquant = guiCreateEdit(116, 353, 84, 28, "", false, tradewdw) quantlabel = guiCreateLabel(116, 334, 83, 19, "Quantity", false, tradewdw) guiSetFont(quantlabel, "default-bold-small") guiLabelSetColor(quantlabel, 101, 254, 0) guiLabelSetHorizontalAlign(quantlabel, "center", false) guiLabelSetVerticalAlign(quantlabel, "center") mymarketgrid = guiCreateGridList(9, 182, 190, 146, false, tradewdw) guiGridListAddColumn(mymarketgrid, "My Market", 0.5) guiGridListAddColumn(mymarketgrid, "Amount", 0.5) guiGridListAddColumn(mymarketgrid, "Price", 0.5) guiGridListAddColumn(mymarketgrid, "Private", 0.5) for i,v in ipairs(mymarket) do local row = guiGridListAddRow(mymarketgrid) guiGridListSetItemText(mymarketgrid, row, 1, v["item"], false, false) guiGridListSetItemText(mymarketgrid, row, 2, v["quant"].." Unit(s)", false, false) guiGridListSetItemText(mymarketgrid, row, 3, "$"..v["price"], false, false) guiGridListSetItemText(mymarketgrid, row, 4, v["to"], false, false) end quantbuy = guiCreateLabel(209, 376, 94, 20, "Quantity to Buy:", false, tradewdw) guiSetFont(quantbuy, "default-bold-small") guiLabelSetColor(quantbuy, 246, 148, 7) guiLabelSetVerticalAlign(quantbuy, "center") buyqedit = guiCreateEdit(304, 371, 187, 29, "", false, tradewdw) buybtn = guiCreateButton(211, 403, 93, 32, "Buy", false, tradewdw) guiSetFont(buybtn, "default-bold-small") guiSetProperty(buybtn, "NormalTextColour", "FFF69407") logo = guiCreateStaticImage(309, 404, 182, 65, ":SAUGLogin/logo.png", false, tradewdw) end end ) addEventHandler("onClientGUIClick",root,function() if isElement(tradewdw) then if source == addbtn then local sel = guiGridListGetSelectedItem(mygridlist) local checks = guiCheckBoxGetSelected(privcheck) if sel ~= -1 and checks == false then local amount = guiGetText(setquant) local price = guiGetText(setprice) local item = guiGridListGetItemText(mygridlist,sel,1) if tonumber(amount) and tonumber(amount) >= 1 and tonumber(price) and tonumber(price) >= 1 then triggerServerEvent("onAddMarketButtonPress",localPlayer,math.floor(amount),price,item,false) end elseif sel ~= -1 and checks == true then local player = guiGetText(privedit) local amount = guiGetText(setquant) local price = guiGetText(setprice) local item = guiGridListGetItemText(mygridlist,sel,1) if tonumber(amount) and tonumber(amount) >= 1 and tonumber(price) and tonumber(price) >= 1 then triggerServerEvent("onAddMarketButtonPress",localPlayer,math.floor(amount),price,item,true,player) end end end if source == removebtn then local sel = guiGridListGetSelectedItem(mymarketgrid) if sel ~= -1 then local amount = guiGetText(setquant) local item = guiGridListGetItemText(mymarketgrid,sel,1) local quant = guiGridListGetItemText(mymarketgrid,sel,2) local quant = string.gsub(quant," Unit(%()s(%))","") local price = guiGridListGetItemText(mymarketgrid,sel,3) local price = string.gsub(price,"($)","") local player = guiGridListGetItemText(mymarketgrid,sel,4) if tonumber(amount) and tonumber(amount) >= 1 then for i,v in ipairs(mymarket) do if v["item"] == item and tonumber(quant) == tonumber(amount) then table.remove(mymarket,i) elseif v["item"] == item and tonumber(quant) > tonumber(amount) then table.remove(mymarket,i) table.insert(mymarket,{["item"]=item,["quant"]=tonumber(math.floor(quant)) - tonumber(math.floor(amount)),["price"]=tonumber(price),["to"]=player}) end end triggerServerEvent("onRemoveMarketButtonPress",localPlayer,math.floor(amount),math.floor(quant),item,player) end end end if source == buybtn then local sel = guiGridListGetSelectedItem(maingrid) if sel ~= -1 then local amount = guiGetText(buyqedit) local name = guiGridListGetItemText(maingrid,sel,1) local item = guiGridListGetItemText(maingrid,sel,2) local price = guiGridListGetItemText(maingrid,sel,3) local price = string.gsub(price,"($)","") local quant = guiGridListGetItemText(maingrid,sel,4) local quant = string.gsub(quant," Unit(%()s(%))","") local player = guiGridListGetItemText(maingrid,sel,5) if tonumber(amount) and tonumber(amount) >= 1 then if tonumber(amount) <= tonumber(quant) then if getPlayerMoney(localPlayer) >= tonumber(price)*tonumber(amount) then triggerServerEvent("onBuyMarketButtonPress",localPlayer,name,math.floor(amount),item,tonumber(price),tonumber(math.floor(quant)),player) end end end end end end end) addEvent("updateAllMarket",true) addEventHandler("updateAllMarket",root,function(global,arg) if isElement(tradewdw) then if arg == "onlyglobal" then guiGridListClear(maingrid) for i,v in ipairs(global) do local row = guiGridListAddRow(maingrid) local r,g,b = 255,255,255 if (v[5] ~= "N/A" or v[5] ~= "") and v[5] ~= getPlayerName(localPlayer) then r,g,b = 255,0,0 end if v[5] == getPlayerName(localPlayer) then r,g,b = 0,255,0 end if v[5] == "N/A" then r,g,b = 255,255,255 end guiGridListSetItemText(maingrid, row, 1, v[1], false, false) guiGridListSetItemText(maingrid, row, 2, v[2], false, false) guiGridListSetItemText(maingrid, row, 3, "$"..v[3], false, false) guiGridListSetItemText(maingrid, row, 4, v[4].." Unit(s)", false, false) guiGridListSetItemText(maingrid, row, 5, v[5], false, false) guiGridListSetItemColor(maingrid, row, 1,r,g,b,255) guiGridListSetItemColor(maingrid, row, 2,r,g,b,255) guiGridListSetItemColor(maingrid, row, 3,r,g,b,255) guiGridListSetItemColor(maingrid, row, 4,r,g,b,255) guiGridListSetItemColor(maingrid, row, 5,r,g,b,255) end else local inv = getElementData(localPlayer,"inventory.items") guiGridListClear(mygridlist) for i,v in ipairs(inv) do local row = guiGridListAddRow(mygridlist) guiGridListSetItemText(mygridlist, row, 1, v["item"], false, false) guiGridListSetItemText(mygridlist, row, 2, v["quant"], false, false) end guiGridListClear(maingrid) for i,v in ipairs(global) do local row = guiGridListAddRow(maingrid) local r,g,b = 255,255,255 if (v[5] ~= "N/A" or v[5] ~= "") and v[5] ~= getPlayerName(localPlayer) then r,g,b = 255,0,0 end if v[5] == getPlayerName(localPlayer) then r,g,b = 0,255,0 end if v[5] == "N/A" then r,g,b = 255,255,255 end guiGridListSetItemText(maingrid, row, 1, v[1], false, false) guiGridListSetItemText(maingrid, row, 2, v[2], false, false) guiGridListSetItemText(maingrid, row, 3, "$"..v[3], false, false) guiGridListSetItemText(maingrid, row, 4, v[4].." Unit(s)", false, false) guiGridListSetItemText(maingrid, row, 5, v[5], false, false) guiGridListSetItemColor(maingrid, row, 1,r,g,b,255) guiGridListSetItemColor(maingrid, row, 2,r,g,b,255) guiGridListSetItemColor(maingrid, row, 3,r,g,b,255) guiGridListSetItemColor(maingrid, row, 4,r,g,b,255) guiGridListSetItemColor(maingrid, row, 5,r,g,b,255) end guiGridListClear(mymarketgrid) for i,v in ipairs(mymarket) do local row = guiGridListAddRow(mymarketgrid) guiGridListSetItemText(mymarketgrid, row, 1, v["item"], false, false) guiGridListSetItemText(mymarketgrid, row, 2, v["quant"].." Unit(s)", false, false) guiGridListSetItemText(mymarketgrid, row, 3, "$"..v["price"], false, false) guiGridListSetItemText(mymarketgrid, row, 4, v["to"], false, false) end end end end) when i click f7 or t/trade not shown
  14. HHHHH do u remember that ? see now u are making own sv xdddd SAUG4Life
  15. SAUG:RPG Ver 3.7 Has Been Release
  16. I HOPE to see visit us for new verison SAUG:RPG Ver 3.7 GOING REALSE: I hope to see all IN-Game for check our news we have bought VPS for remove Drop FPS and make server better WE WANT BREAK OUR RECORD LIKE OLD VERISON 30 PLAYERS THANKS TO ALL
  17. Our Forums:saugrpg.ml Discord:https://discord.gg/fwSTUhu News:
  18. https://www.youtube.com/watch?time_continue=239&v=LATxk3GAb7M our Trailer Much coming soon
  19. Tando

    SetTime

    problem was in end !!!
×
×
  • Create New...