-
Posts
121 -
Joined
-
Last visited
-
Days Won
2
Posts posted by Tando
-
-
You Took everything from my Post Thats not good thing to do it
-
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", }
-
Anyone want join with Us !
-
Searching For Lua Programmer to help us in Verison 5.0
Our Commiunty:
-
5 minutes ago, ^iiEcoo'x_) said:
more explanation
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
-
Any Help?
-
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?
-
We are going to Release Verison 5.0 Soon Wait us
- 2
-
We are searching For Scripter ! IF You about Lua Pm me
Server :
-
UPDATE ScreenShots:
Login:
QuoteUCP:
QuoteSkin Accessories:
QuotePhone:
QuoteSupport Chat:
QuoteSpawners:
QuoteVehicle Shop:
QuoteSkinShop:
QuoteDrug Dealer:
QuoteGym:
QuoteTeam Deathmatch:
QuoteBank Robbery:
QuoteRecord:
QuoteWe still Growing i hope to see u ingame
-
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- 1
-
Making 500 Topics For Server Name SAEG:RPG ? OMG
One Topic enough
- 1
-
- Server Record Has been UPDATED
- Now Server Record is : 40
-
Topic has been UPDATED
-
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
-
On 09/04/2019 at 15:12, Bozi said:
Nothing new, Every RPG server is based to SAES script.No offence but try to make something new.
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
-
Hello everybody,
We have made our new veriosn Since our server has been STOPPEDi Think all Players Suggestion has been ADDED
General News:
Quote1-Added More Turfs around SA Map
2-Added Gift System
3-New Headshot system has been added
4-Added Grenade launcher in ammunition Price 200$ per one
5-Gangster is no longer able to turf anymore only thug can do that and gangsters cant damge thugs at all
6-Jetpack is disabled on turf.
7-Added New Help Panel
8-Added Titles system , You Will find it on UCP>Settings
9-VIP PANEL is ADDED.
10-Added GPS App on Phone
11-Custome skins are now added, it costs 20 euros. file size limit is 3mb.
12-new cars are added in vehicle shop.
13-Fine system Added , If u have stars after 300 Secs Auto Removed
14-Added Shotgun, Sawed Off, Deagle and MP5 to the weapon factory.
15-New Law Delivery Has Been Added
16-Added Group Skins , Now Gangs able buy own skin from Group Skins
17-New Selling Weapons added t/sellweps
18-New System called Text Sounds , when u click Z will show to u much Words click any word and will listen speak with this Word
19-Finialy Menu has been Added , <Invite,Revive,Trade>
20-Added NameTag For Players
21-Now When u use Armour it's shown Window count from 0 to 100 / With add object armour to ur body
22-Disabled Laser, Shown only for who aim
23-Forum has Been Fixed You Can visit it now !
24-Added Auto PM , disable SMS , Unblock Player [ Commands : auto/disableauto - unblock <playername> - disablesms/enablesms ]
25-Now U must exit shop to start Rob
26-Now Changed TurfPayCheck to 50% Go To player Hand and 50% to Clan Bank, You Must Active with 'Thugs' Job
27-Now No need Admins to Start Warzone , It's will start auto after 24hours , Added Top Killers on WarZone
28-Cop Patrol Mission has been Added , u will find it in All Police Department
29-Added Bail System on LSPD , It's made for remove ur Stars
30-Ammo Transport has been Added, To Know when will be started check Phone > Times
31-Removed Coin System , Added Level on UCP
32-Groups with base level 5 can now use billboard advert of up to 512x256 pixels instead of 256x128.
33-Turf paycheck now also rewards the player SP.
34-Title System has been added on UCP
35-New Bussines System has been Added
36-Bank Robbery Time Changed to 1 Hour
37-All Times of Events/Resources added on Phone
38-Added More Applications on Phone [ About / Shout ]
39-Added Message for Rank UP
40- Added Robber/Hacker System To GangstersJobs:
Quote1-Added C.I.A Job , It's need 500 Arrests or Player in Clan to get it
2-New Job Called "Bus Driver" Has been added
3-New Job Added called Thugs It's made for turfing but have acsses to rob too
4-New System for "Taxi" Job
5-Ranks Added To "C.I.A", "Thugs", "Bus Driver"Events:
Quote1-Added FFA Event
2-Added DogFight Event on phone on phone
3-Added Race Event on phone
4-Added Fallout Event on phoneBug Fixes:
Quote1-Fixed Jaill , Now u Won't get unjail after Reconnect
2-Fixed Medic Job , You Can Heal player
3-WarZone Fixed 100/100, Now U can join WarZone / When u dead U will respawn in Warzone
4-Fixed Bug of Armour
5-You Can't PM Ur Self Anymore
6-Traffic Unit has been fixed
7-You Can't use Interior while u are Robbing
8-Grenade Launcher Has been Fixed, Now You Can't lose Grenade Launcher with using Tab
9-Colt 45 Fixed , You Able to use it now
10-'/storeweap' now works with all weapons.Staff Logs:
Check Staff Logs/Roster on saugrpg.tk
New Developer Has been joined with usScreenShots:
QuoteServer Recored : Still growing i hope to see u ingame
-
15 hours ago, mazarati21 said:
You can use this.
https://wiki.multitheftauto.com/wiki/DxDrawRectangle
then
dxDrawText("Armor: "..armor.."%"
etc..
Thanks u alot
i have finished it
-
-
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
-
On 08/02/2019 at 01:20, DNL291 said:
If the above code doesn't work, try this:
function MakePlayerHeadshot( attacker, weapon, bodypart, loss ) if getElementType ( attacker ) == "player" and bodypart == 9 then if getPedArmor(source) > 0 then setPedArmor( source, 0 ) if loss and loss > 0 then setElementHealth( source, getElementHealth(source) + loss ) end -- dunno if 'loss' also works for the armor else triggerEvent( "onPlayerHeadshot", source, attacker, weapon, loss ) setPedHeadless ( source, true ) killPed( source, attacker, weapon, bodypart ) setTimer( BackUp, 900, 1, source ) end end end addEventHandler( "onPlayerDamage", getRootElement(), MakePlayerHeadshot ) function BackUp( source ) if getElementType ( source ) == "player" then setPedHeadless ( source, false ) end end
not working
-
11 hours ago, mazarati21 said:
Something like this to get the player health.
local armor = math.ceil(getPedArmor(localPlayer))
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%)
-
2 hours ago, WorthlessCynomys said:
You can use .. to use variables in strings.
Just like this:
outputChatBox("You have "..getPedArmor(localPlayer).."% armour")
and you can calculate the length of a dxRectangle with this formula:
maxLength*(currentValue/maxValue)
At armour it looks like this:
maxLength*(getPedArmor(localPlayer)/100)
Whereas getPedArmor is your current value, of how much armor a player has, and 100 is the max, since a full armor has a value of 100. The length can be decided by you.
I didn't understand u
Can u explain to me, Please ?
-
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)
[RPG]SAUG:RPG |3.5| [English]
in Servers to play on
Posted
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.