Jump to content

Tando

Members
  • Posts

    121
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Tando

  1. Hello there, As everyone is by now aware, the server went offline since long time this is due to inactivity of owners so, we are glad to announce that the server will be back soon with lots of updates, Wait for us with new updates Regards, The SAUG Staff Team.
  2. You Took everything from my Post Thats not good thing to do it
  3. Tando

    what's worng

    @Ayee plang = { --- Arabic End ["Portugal"] = "Portuguese", ["Brazil"] = "Portuguese", ["Slovenia"] = "Ex-Yu", ["Serbia"] = "Ex-Yu", ["Croatia"] = "Ex-Yu", ["Macedonia"] = "Ex-Yu", } Check Flags name from ur scoreboard like plang = { --- Arabic End ["PT"] = "Portuguese", ["BR"] = "Portuguese", }
  4. Searching For Lua Programmer to help us in Verison 5.0 Our Commiunty:
  5. Tando

    [Help]Pages

    dxDrawRelativeText(""..page.." / "..pageCount, 630, 628, 669, 681, tocolor(255, 255, 255, 255), 2.00, "default-bold", "left", "center", false, false, true, false, false) if selectedType == "N/A" then else for i,v in ipairs (clientItems) do itimage = v["item"] if itimage == "Morphine Seed" then itimage = "Morphine" end if itimage == "Cocaine Seed" then itimage = "Cocaine" end if itimage == "DMT Seed" then itimage = "DMT" end if itimage == "PCP Seed" then itimage = "PCP" end if itimage == "2x Nitrous" then itimage = "nitro" end if itimage == "5x Nitrous" then itimage = "nitro" end if itimage == "10x Nitrous" then itimage = "nitro" end if itimage == "Gas Can" then itimage = "gas" end if itimage == "TearGas" then itimage = "Tear Gas" end itemline = math.ceil(i/7) if (itemline ~= itemoline)then itemz = 1 end if (i <= 4) and (itemz > i) then itemz = 1 end for i = pageAm-21, pageAm do if page > 1 then i = i + 1 end if clientItems[i] then local normalizedIndex = i - (pageAm - 21) if selectedType == "All" then dxDrawRelativeImage(img["X"]+70*itemz, img["Y"]+58*(itemline), img["Width"], img["Height"], ":images/items/"..clientItems[i]..".png", 0, 0, 0, tocolor(255, 255, 255, 255), true) dxDrawRelativeText("x"..v["quant"].."", x["X"]+70*(itemz*2), x["Y"]+58*(itemline*2), x["Width"], x["Height"], tocolor(255, 255, 255, 255), 1.00, "default-bold", "center", "center", false, false, true) end end end I Tried but i failed on smth which That i need when inventory got 21Items new Page Added Every 21Items new page added
  6. Tando

    [Help]Pages

    Hello, I Need Help Inside This Script if selectedType == "N/A" then else for i,v in ipairs (clientItems) do itimage = v["item"] itemline = math.ceil(i/7) if (itemline ~= itemoline)then itemz = 1 end if (i <= 5) and (itemz > i) then itemz = 1 end if selectedType == "Evenrything" then dxDrawRelativeImage(466+76*itemz, 150+61*itemline, 62, 51, "images/items/"..itimage..".png", 0, 0, 0, tocolor(255, 255, 255, 255), false) i want make +1Page after 15Items? Can Anyone Help me?
  7. We are going to Release Verison 5.0 Soon Wait us
  8. We are searching For Scripter ! IF You about Lua Pm me Server :
  9. UPDATE ScreenShots: Login: UCP: Skin Accessories: Phone: Support Chat: Spawners: Vehicle Shop: SkinShop: Drug Dealer: Gym: Team Deathmatch: Bank Robbery: Record: We still Growing i hope to see u ingame
  10. SAUG:RPG Verison 4.8 has been Released General UPDATES: New Bussines System has been ADDED , You Will recieve 10% of Money From ur own shop Now, GrandeLauncher Switched with Teargas,Grande,Molotov VIP Flags has been Added In-Game Event System : Free For All has been ADDED Fallout Event has been UPDATED Level System : Added Sound Effect , UI On Level UP Police Job : Has been UPDATED Taser : You Can't Tase Player with Red Head VIP System : Tag Has been Added only for VIP Premium Clan System : Added Own Blip and NameTag For Clan Members New TDM Has Been Added on LS, Feel Free To Host TDM with ur friends Bases : From Now you can't break any glass Chat System : Alliance System has been Added Player List : You can see ur Kills If u aren't in Top List Now u able to Change Hydra Colors Ammunation / Weapons : MP5 Became like UZI , Tec-9 You can now buy Gas Masks ($2,000 each). Ban System : Has been UPDATED Toll UI : Has been UPDATED You can now view your own punishment list using the '/mypunishments' command. Now You Able to Change ur Custom Title color for 1m and Titles for 100k UCP : Added Skin Shaders , PaintJobs , Clan Shaders on it UCP : You can send Request from UCP To change PAINTJOB OR SKIN SHADER UCP : Added Pages For Settings Tab UCP : Added New Achivements , There are 35 Achivements has been Added Job System: System:Will get msg when u Rank UP Job System: Gangster has been changed to Criminal Job System: From Now, Only 7Members able to take Thugs Job Trade System : Has been UPDATED Trade System : You Can Trade Masks Player Click Menu : "Give Money" has been added on Menu Vehicle Click Menu Has been Added [ Lock , Hide , Turn on Light , Doors , Specifications ] There Are Some Missions has been ADDED: Assault AmmoTransport Androma Missions Prasdient WarZone : We Had to edit Somethings on it Law Side , Crim Side has own Skins when join Rewards now work on this way: Reward1 = 1000$ for killing an enemy inside a warzone ( must count as kill for kill-list ) Reward2 = 25,000$ per zone owned at end of the event Only Military , Terrorists Can Take The Zone Turf System: Disabled turfing while warzones are going on You Will get Message While ur turfs getting Attack Added More Turfs in Each City LV , SF Inventory System : Click Menu has been Added From Now, You Able to wear Gas Mask Spawner System : Thugs / Terrorists Able to Use Criminal Spawner Added Pages on Spawner/Owned Vehicle Spawner every 5 Vehicles u will get new Page. Respected Turf Has been Added on LS You can buy masks from F10 Xmas Event has been ADDED, T/xmasevent Added New Clan Blip with NameTag New Support Chat has been Added on F7 You Able to use command t/selldrugs New Login has been Added Phone: Youtube/ Translate App has been Added New DrugEffect Has been Added From Now, Youn can eject glued Player New Aimming System has been added New Vehicle Mods with New Mods System Now, You Able to use *ColorName Text in Chat Job System has been Changed Respected Group Able to Spawn From Spawner of Own Side You Can use /lock command while u are out of vehilce Added New CJ Clothes System New Walk System has been added For Combat Tag System Added Able only for Premium VIP New Clan Ranks Permissions has been Added New Mechanic Shop Has been added New Bank Robbery/ Casino Robbery Has been Added ,enjoy Bugs: You can't use jetpack while turfing Fixed Trade Mask Bug
  11. Making 500 Topics For Server Name SAEG:RPG ? OMG One Topic enough
  12. Server Record Has been UPDATED Now Server Record is : 40
  13. GENERAL IMPROVEMENTS Added New Look For Login Added New Inventory, Now you will see Items with own IMG Mask System has been Added , You can Buy masks from SkinShop New DX Skin Shop has been added New Taser System has been added New Look For UCP, Hope to like it Added Party System Inside UCP, Enjoy ! Added New Menu System [ About,PM,Revive,Trade,Invite To clan ] Added New Look For Spawners , OwnedVehiclesSpawners Added New Trade System Back Turfs To LV,SF Added Respected Group Turfs in LS Added New Level System, Now u will get Gifts from Level up Now, Added Players List, Kill much to become 1st Assisting with arrests now also grants SP. Added Shotgun, Sawed Off, Deagle and MP5 to the weapon factory. Added More Shouts on Phone Bussines Has been added around SA , enjoy Trade: Now u can Trade ur Car Now, You Can Hide Players Names and Jobs Names on Map Ammunation: Added molotovs, satchels and teargas New HUD Has been Released for Our Verison Added Custom TITLES Now, You have to wait 10Secs for Resign Added Assault Mission For Terrorists Added ABOUT App on Phone Added SkinShader, Now You Donate for own SkinShader BUG FIXES Fixed PC For Copy , Now you can see wanted Criminals Fixed Bail System Fixed Bank Robbery Fixed Bug Saving Dim when u recc Fixed WarZone Fixed "C.I.A" Job , They Can't Kill wanted Criminals Anymore Fixed Androma Mssion Fixed Bank Robbery STAFF NEWS Malven joined As Trial Moderator Blackout Joined as Trial Moderator Mentosz has been Kicked RemonTada Back as Co-Owner
  14. I had never join this server Before So idk which inside it To copy anything from it Thanks For Reply to Our main topic of SAUG
  15. Hello everybody, We have made our new veriosn Since our server has been STOPPED i Think all Players Suggestion has been ADDED General News: Jobs: Events: Bug Fixes: Staff Logs: Check Staff Logs/Roster on saugrpg.tk New Developer Has been joined with us ScreenShots: Server Recored : Still growing i hope to see u ingame
  16. Tando

    Armour Help

    Thanks u alot i have finished it
  17. Tando

    Mask Bug

    K Here for helpnot asking about have or no
  18. Tando

    Menu Bug

    local sx, sy = guiGetScreenSize() local rx, ry = sx/1920, sy/1080 local selectedPlayer = false function isCursorInPosition(rectX, rectY, rectW, rectH) if isCursorShowing() then local cursorX, cursorY = getCursorPosition() local cursorX, cursorY = cursorX * sx, cursorY * sy return (cursorX >= rectX and cursorX <= rectX+rectW) and (cursorY >= rectY and cursorY <= rectY+rectH) else return false end end setTimer(function() if isElement(selectedPlayer) then local x, y, z = getElementPosition(localPlayer) local px, py, pz = getElementPosition(selectedPlayer) local dist = getDistanceBetweenPoints3D(x, y, z, px, py, pz) if dist > 5 then selectedPlayer = false end end end, 500, 0) local screenW, screenH = guiGetScreenSize() addEventHandler("onClientRender", getRootElement(), function() if isElement(selectedPlayer) then dxDrawLine(624, 136, 765, 137, tocolor(255, 255, 255, 255), 2, false) dxDrawLine(624, 236, 764, 236, tocolor(255, 255, 255, 255), 2, false) dxDrawLine(624, 137, 623, 238, tocolor(255, 255, 255, 255), 2, false) dxDrawLine(765, 137, 764, 237, tocolor(255, 255, 255, 255), 2, false) dxDrawLine(624, 169, 765, 169, tocolor(255, 255, 255, 255), 2, false) dxDrawLine(624, 202, 765, 202, tocolor(255, 255, 255, 255), 2, false) dxDrawText("Menu", 657, 106, 785, 137, tocolor(255, 255, 255, 255), 2.00, "default-bold", "left", "top", false, false, false, false, false) dxDrawText("Revive", 663, 140, 749, 164, tocolor(255, 255, 255, 255), 0.90, "pricedown", "left", "top", false, false, false, false, false) dxDrawText("Trade", 663, 174, 749, 198, tocolor(255, 255, 255, 255), 0.90, "pricedown", "left", "top", false, false, false, false, false) dxDrawText("Invite", 663, 208, 749, 232, tocolor(255, 255, 255, 255), 0.90, "pricedown", "left", "top", false, false, false, false, false) if isCursorInPosition(663, 140, 749, 164) then dxDrawText("Revive", 663, 140, 749, 164, tocolor(255, 255, 255, 255), 0.90, "pricedown", "left", "top", false, false, false, false, false) end if isCursorInPosition(663, 174, 749, 198) then dxDrawText("Trade", 663, 174, 749, 198, tocolor(255, 255, 255, 255), 0.90, "pricedown", "left", "top", false, false, false, false, false) end if isCursorInPosition(663, 208, 749, 232) then dxDrawText("Invite", 663, 208, 749, 232, tocolor(255, 255, 255, 255), 0.90, "pricedown", "left", "top", false, false, false, false, false) end end end) ---ped = createPed(217,-1967.25732, -435.42059, 35.33594,80) ped = createPed(217,133.37, -96.9, 1.43,80) local screenW, screenH = guiGetScreenSize() addEventHandler("onClientClick", getRootElement(), function(button, state, absoluteX, absoluteY, worldX, worldY, worldZ, clickedElement) if (state == "up") then if (button == "right") then if (clickedElement) and (getElementType(clickedElement) == "player") and clickedElement ~= localPlayer then cX, cY = absoluteX, absoluteY selectedPlayer = clickedElement else selectedPlayer = false end elseif (button == "left") then if isElement(selectedPlayer) and isCursorInPosition(663, 140, 749, 164) and getElementData(selectedPlayer,"KArr") then triggerServerEvent("up1", resourceRoot, selectedPlayer) selectedPlayer = false end if isElement(selectedPlayer) and isCursorInPosition(663, 208, 749, 232) then triggerServerEvent("clanInvitePlayer1",resourceRoot,getElementData(localPlayer,"Clan"),selectedPlayer) selectedPlayer = false end end end end) Server addEvent("up1",true) addEventHandler("up1", getRootElement( ), function( button, state, player ) if button == "left" and state == "down" then if getElementType( source ) == "player" then if player == source then return end if getElementData(source,"KArr") then local x, y, z = getElementPosition( player ) local x1, y1, z1 = getElementPosition( source ) local distance = getDistanceBetweenPoints3D( x, y, z, x1, y1, z1 ) if distance < 2 and (getTeamName(getPlayerTeam(player)) == "Gangster" or getTeamName(getPlayerTeam(player)) == "Terrorists" ) then removeEventHandler("onPlayerQuit", source, onQuit) setPedAnimation(player, "medic", "cpr") setElementData (player,"antibug" , true) triggerClientEvent ( source,"showit",source ) triggerClientEvent ( player,"showit",player ) if isTimer(proTimerx[source]) then killTimer(proTimerx[source]) end if isTimer(kArrest[source]) then killTimer(kArrest[source]) end end end end end end) idk why it's doesn't work it's work when player open menu and click revive player get revive
  19. Tando

    Armour Help

    getting armour working fine and everything but i want add when player open inventory to use armour when he start use it this Gui shown for player WEARING ARMOUR (0 To 100%)
  20. Tando

    Armour Help

    I didn't understand u Can u explain to me, Please ?
  21. Tando

    Armour Help

    function loadd() dxDrawLine(471 - 1, 358 - 1, 471 - 1, 411, tocolor(254, 254, 254, 254), 1, false) dxDrawLine(895, 358 - 1, 471 - 1, 358 - 1, tocolor(254, 254, 254, 254), 1, false) dxDrawLine(471 - 1, 411, 895, 411, tocolor(254, 254, 254, 254), 1, false) dxDrawLine(895, 411, 895, 358 - 1, tocolor(254, 254, 254, 254), 1, false) dxDrawRectangle(471, 358, 424, 53, tocolor(0, 0, 0, 182), false) --------- DX dxDrawRectangle(476, 360, 415, 47, tocolor(5, 76, 183, 144), false) --------progressbar=100 dxDrawRectangle(476, 360, 5, 47, tocolor(5, 76, 183, 144), false)-----progressbar=0 dxDrawText("WEARING ARMOUR (0%)", 486, 368, 871, 411, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, false, false, false) end addEventHandler("onClientRender", root, loadd) local unlerp = function(from,to,lerp) return (lerp-from)/(to-from) end function dxDrawProgressBar( startX, startY, width, height, progress, color, backColor ) local progress = math.max( 0, (math.min( 100, progress) ) ) local wBar = width*.18 for i = 0, 4 do --back local startPos = (wBar*i + (width*.025)*i) + startX dxDrawRectangle( startPos, startY, wBar, height, backColor ) --progress local eInterval = (i*20) local localProgress = math.min( 1, unlerp( eInterval, eInterval + 20, progress ) ) if localProgress > 0 then dxDrawRectangle( startPos, startY, wBar*localProgress, height, color ) end end end i need when i use armour it's shown Progress count from 0 to 100 setTimer(addArmour, 5000, 1)
×
×
  • Create New...