-
Posts
121 -
Joined
-
Last visited
-
Days Won
2
Posts posted by Tando
-
-
plz any answer
-
On 6/3/2018 at 22:02, mazen54 said:
so why i have to say ?
ican do it in 10min only and ez
so do it lool
if you don't need to say so don't reply
-
Hello,
I need help in Server .lua
Logo:
QuoteClient:
sx,sy = guiGetScreenSize () addEvent ("onNotificationWindowHide",false) addEvent ("onNotificationWindowShow",false) box = false function showBox(value, str) if str and type(str) == "table" and #(str) > 0 then box = true if value == "info" then showTipBox (table.concat(str," "),"img/info.png") outputConsole ("[INFO]" .. table.concat(str," ")) --[[elseif value == "error" then showTipBox (str,"img/error.png") outputConsole ("[ERROR]" .. str) elseif value == "warning" then showTipBox (str,"img/warning.png") outputConsole ("[WARNING]" .. str)]]-- end end end addEvent("CreateBox", true) addEventHandler("CreateBox", getRootElement(), showBox) addEventHandler ("onNotificationWindowHide",getRootElement(), function () box = false end ) tipBox = {} tipBox.path = "" tipBox.show = false tipBox.state = nil tipBox.string = nil tipBox.starTick = nil tipBox.currentY = nil tipBox.time = 800 tipBox.next = nil tipBox.nextPath = "" tipBox.timer = nil tipBox.startY = sy+256 tipBox.stopY = sy-150 function showTipBox (str,path) if str then if path == nil then path = "img/info.png" end if fileExists (path) then if tipBox.show == true then tipBox.next = str tipBox.nextPath = path else tipBox.path = path tipBox.show = true tipBox.state = "starting" tipBox.string = str tipBox.startTick = getTickCount() triggerEvent ("onNotificationWindowShow",getRootElement()) end end end end addEvent("CreateTipBox", true) addEventHandler("CreateTipBox", getRootElement(), showTipBox) addEventHandler ("onClientRender", getRootElement(), function () if tipBox.show == true and tipBox.string then local width = dxGetTextWidth (tipBox.string, 1, "default-bold") if width then if tipBox.state == "starting" then local progress = ((getTickCount() - tipBox.startTick) / tipBox.time)*0.5 local intY = interpolateBetween ( tipBox.startY,0,0, tipBox.stopY,0,0, progress,"OutElastic" ) if intY then tipBox.currentY = intY else tipBox.currentY = 100 end if progress > 1 then tipBox.state = "showing" tipBox.timer = setTimer ( function () tipBox.startTick = getTickCount() tipBox.state = "hiding" end ,string.len(tipBox.string)*45+800,1) end elseif tipBox.state == "showing" then tipBox.currentY = tipBox.stopY elseif tipBox.state == "hiding" then local progress = (getTickCount() - tipBox.startTick) / (tipBox.time) local intY = interpolateBetween ( tipBox.stopY,0,0, tipBox.startY,0,0, progress,"Linear" ) if intY then tipBox.currentY = intY else tipBox.currentY = 100 end if progress > 1 then triggerEvent ("onNotificationWindowHide",getRootElement()) if tipBox.next then if isTimer(tipBox.timer) then killTimer(tipBox.timer) end tipBox.show = true tipBox.state = "starting" tipBox.string = tipBox.next tipBox.startTick = getTickCount() tipBox.next = nil tipBox.path = tipBox.nextPath return else tipBox.show = false tipBox.state = nil tipBox.string = nil return end end else return end local width = 400 local x,y = sx - width - 5, tipBox.currentY local textX,textY = x+100,tipBox.currentY+34.375 local textWidth,textHeight = 273.59375,82.8125 dxDrawImage(x,y,width,200,tipBox.path,0,0,0,tocolor(255,255,255),true) dxDrawText(tipBox.string,textX,textY,textX+textWidth,textY+textHeight,tocolor(255,255,255),1,"default-bold","center","center",false,true,true) end end end )
First this system same as message but this with logo and will be under screen
Server.lua = Command <text> for show inside Logo under screen
Like Info for players ingame
NOTE: Sry for spam posts i just want be finish my verison OF SAUG:RPG 3.5
-
Hello,
How to make Cops Spawn in pds [LSPD/LVPD/SFPD]
Cops Team[Government/Police]
And plz add in it this cop in LV Spawn at LVPD not LSPD or SFPD , other too
-
On 5/13/2018 at 04:44, Venon1 said:
Don't help him staffs he is using smug resources stolen
yea +1 he using SAUGInventory stolen no one help him plz
-
These days I've been thinking about creating a RPG server from scratch. I know it's not easy but since May +/- I have been learning LUA (MTA) and I'm already familiar with the process, however, I'll need someone else to help me in this new adventure!
I need to get interested and trusted people to take this protect forward, including:
- DX Profesional
- Programmer (to work with me)
- Designer (Photoshop)
Resources
The server should have:
- Jobs
- Bank
- Temporary Vehicles spawner
- Vehicle Shops
- Inventory
- Trade system
- Used vehicles shop (players can trade vehicles with other players)
- Jail (Map + Script)
- Drug delivery and other criminal scripts
- VIP system
- Bank Robbery
- Casino Robbery
- Other scripts...
All advanced scripts will be scheduled by the server programmers, only the most basic will be downloaded from the community! All scripts will be based on MySQL to work. This is because all the information is gathered in one place so accessible from anywhere in the world, while SQLite is just a file that can only be "treated" by the game...
Screen Shots
QuoteConclusion
I Just want make server have much players and be the top of servers
I need help in news Like
Quote- Drug delivery
- Inventory
- Casino Robbery
- Logos
- Help Panel
Players
Record : 35
Players per day : 30/200
-
On 5/29/2018 at 13:57, Infinity# said:
Everyone has their own opinion and their own point of view on how they see things. Doesn't give them the right to share their opinions whenever they feel they should, and especially when it isn't a positive one either. But hey, it's your opinion and I respect it. Not everyone is perfect, don't punish these guys for it. Stop by and see, and because you might not like something doesn't mean you should have a say on it. Move on.
Thanks For Talk to him <3
On 5/11/2018 at 15:38, Tando said:About Us:
Welcome to San Andreas United Gaming (SAUG)
We are a dedicated RPG server in MTA with a rapidly growing player base ever since our launch in April, 2018.
We have accomplished many things,
We focus heavily on the RPG aspect of MTA, which is not to be confused with RP (Roleplay).
We attempt to have a friendly and fun community for everyone to enjoy.The SAUG staff can be identified by the "SAUG" tag before their name and a purple name color.
If you are new to our server, don't fret. If you have any questions or concerns, press F6 and state your problems there - staff members or experienced players will assist you.We highly advise you to listen to the staff members and follow the server rules.
If you want to become more involved, feel free to visit Soon The latest news and announcements are posted on our forum daily.ScreenShots:
Server Information:
Server Owner: Tando/Venom
Server Forum : Coming Soon
Server Discord : https://discord.gg/XaPx7v3
Server Verison : 3.5
FB Group : https://www.facebook.com/groups/141559259848558/
STAUTS : OPENEDServer System:
Server Record:
Server Record : +15
Server Record gift : VIP / Money / eventsRegards
SAUG Staff TeamHello everybody,
We are sorry for Close we had some problems and we fixed some of it still inventory we using our powers to get it or make it
SAUG:RPG 3.5 will come Soon Plz wait us,
And who saying our Server copycat i hope to tell you all servers copycat !! and if you don't like SAUG so don't waste your time with reply
- 1
-
14 hours ago, Khadeer143 said:
I can make you whole new system not clone of saeg or any servers if you can pay me
i can't pay
16 hours ago, mazen54 said:Easy
if easy so where is it ?
-
Hello everybody,
I Tired from Work in Inventory to Put DrugEffect/Drug Draw Time
As i know only @_DrXenon , @Oussema have inventory oF STORM/SAEG Client .lua May i get Help in it
May i get Help in DrugEffect/DrugDXDraw For Time here or get Full Inventory !
Client:
local sx,sy = guiGetScreenSize() addEvent("Hiddeny",true) addEventHandler("Hidden", root, function(items) if not isElement(invwdw) then invwdw = guiCreateWindow((sx - 291)/2,(sy - 445)/2, 291, 445, "SAUG Inventory", false) guiWindowSetSizable(invwdw, false) logo = guiCreateStaticImage(70, 22, 149, 56, ":SAUGLogin/logo.png", false, invwdw) invgrid = guiCreateGridList(9, 81, 273, 311, false, invwdw) guiGridListAddColumn(invgrid, "Item", 0.5) guiGridListAddColumn(invgrid, "Quantitiy", 0.5) for i,v in ipairs(items) do row = guiGridListAddRow(invgrid) guiGridListSetItemText(invgrid, row, 1, v["item"], false, false) guiGridListSetItemText(invgrid, row, 2, v["quant"].." unit(s)", false, false) end closebtn = guiCreateButton(213, 396, 69, 39, "Close", false, invwdw) infolabel = guiCreateLabel(10, 396, 196, 36, "Double mouse 'Right' click to use!\nDouble mouse 'Left' click to drop!", false, invwdw) guiSetFont(infolabel, "default-bold-small") guiLabelSetHorizontalAlign(infolabel, "center", false) guiLabelSetVerticalAlign(infolabel, "center") else destroyElement(invwdw) end end ) addEventHandler("onClientGUIClick",root,function() if isElement(invwdw) then if source == closebtn then destroyElement(invwdw) end end end) addEventHandler("onClientGUIDoubleClick",root,function() if isElement(invwdw) then if source == invgrid then local sel = guiGridListGetSelectedItem(invgrid) local item = guiGridListGetItemText(invgrid,sel,1) local quan = guiGridListGetItemText(invgrid,sel,2) local quan = string.gsub(quan,"unit(s)","") local quan = tonumber(quan) triggerServerEvent("useItem",localPlayer,item) end end end) addEvent("updateInvGridList",true) addEventHandler("updateInvGridList",root,function(items) if isElement(invwdw) then destroyElement(invgrid) --local items = getElementData(localPlayer,"inventoryitems") invgrid = guiCreateGridList(9, 81, 273, 311, false, invwdw) guiGridListAddColumn(invgrid, "Item", 0.5) guiGridListAddColumn(invgrid, "Quantitiy", 0.5) for i,v in ipairs(items) do row = guiGridListAddRow(invgrid) guiGridListSetItemText(invgrid, row, 1, v["item"] or v[1], false, false) guiGridListSetItemText(invgrid, row, 2, (v["quant"] or v[2]).." unit(s)", false, false) end end end)
-
Forum added : saugmta.cf
New helppanel (F3)
Breaked record , Next record [+30]
Weapson Factory Added
Fixed bugs !!
Quote- 1
- 1
-
- Popular Post
- Popular Post
About Us:
Welcome to San Andreas United Gaming (SAUG)
QuoteWe are a dedicated RPG server in MTA with a rapidly growing player base ever since our launch in April, 2018.
We have accomplished many things,
We focus heavily on the RPG aspect of MTA, which is not to be confused with RP (Roleplay).
We attempt to have a friendly and fun community for everyone to enjoy.The SAUG staff can be identified by the "SAUG" tag before their name and a purple name color.
If you are new to our server, don't fret. If you have any questions or concerns, press F6 and state your problems there - staff members or experienced players will assist you.We highly advise you to listen to the staff members and follow the server rules.
If you want to become more involved, feel free to visit Soon The latest news and announcements are posted on our forum daily.Server Information:
Server Owner: Tando/FireWall/Nox
Server Forum : saugrpg.com
Server Discord : https://discord.gg/fwSTUhu
Server Verison : 4.0
FB Group : https://www.facebook.com/groups/141559259848558/
STAUTS : OPENEDServer Record:
Server Record : +35
Server Record gift : VIP / Money / eventsServer System:
HUD:
QuoteHUD shown at top right of the screen it's show how left from your Health Points, How much you got money, do you have stars and wanted from cops or not, it's also show your level, it's necessery for you to check all above.
UCP:
QuoteUCP are devisioned into 7 options which is:
1:General - You can check some of your in-game status and you can also check the precentage you have skilled weapons.
2: Vehicles - when you buy an vehicle "Cars,planes or boats" it goes into this option you can select to hide,show,lock,unlock or sell them.
3:Jobs - You can check what's your job , and if you want to resign you can click on briefcase with X mark to go employeed.
4: Clans - You can manage your clan "Gang/Squad/Clan", invite members,check clan list,you can even check who got map turfs.
5: Achievements - From here you can check what server achievements you have done also you get rewarded on every achieve you have done it.
6: Party - You can make a party from here and invite your friends and have an owned chat called party you can use /PartyChat text to chat with friends.
7: Settings - With this option you can control on many functions...
"Weather": you can control server weather and select how you wants to play in sunny, Winter or Stormy?"Crosshair": You can select the type of aim crosshair you have many other shapes of crosshair.
"Custom Titles": There is many custom titles that can be shown above your head go ahead and give it a try!
"Vip settings": That function is avaliable for VIP members you can enable/disable laser you also color it as you wish, show and hide laser, color your car with your favourite color
Inventory:
QuoteIt's the most important function in the server, you need it to store weapons with command /storewep if you want exchange the weapon, you can pick up armours and drugs on it and withdraw it whenever you need it, you can access it by pressing "I" GUI will be shown in the middle of the screen, you can also find masks there wear or take off it, it can also pick up things that vehicles needed it like Wrenchs or gas or such things.
HelpPanel:
QuoteYou can find all the information related to the server there, an explanation for every job and how to start work with it, clarify for the rules "You must follow",you must read it carefully cause it's will lead your behaviour from bad to good player.
Phone:
Quotewith phone you can access..
1- SMS: You can send a private message to a player by searching his name and type the message then press send or otherwise you can use /pm "PlayerName" message you want to send
2-Calculator: Nothing to say but you can do some maths there if needed.
3-Most Wanted list: You can check your charges there for "Criminals" and for "Cops" you can chase the higher charges murder and arrest him and get high rewarded money.
4- Settings: There you can find more furniture for Map,Misc,Chats and blips.
5- Notes: You can save important notes In-Game without leaving MTA to do that.
6-Music: You can convert some music to .mp3 type and play it In-Game without leaving MTA to do that.
7-Animations: Some In-Game reacts like dancing feeling angry or happy you can stop it by pressing "Space"
8-Times: You can check some CnR events times and when its start such as warzone,bank robbery and casino robbery and future Criminal/Cops events.
9-Mods: You can enable/disable Vehicles mods from that selection.
10- Events: There is some funny events here that you can join it whenever an staff starts it.
11- GPS: You can locate whatever you want "Jobs,Miscs or bases" by pressing on what you want and click on locate, you can also locate an player by typing /loc "PlayerName"
12- Shouts: You can play some .mp3 in local and other players will hear it you can give it a try!
13- About: You can check other players information.
SkinShop:
Quoteyou change your skin every time you change it, costs you 10k from your money, you can also buy masks and group skins from there.
Ammunation:
QuoteFrom there you can buy weapons from each weapon have his price for example You can buy "RPGs,Armours,Teargas,molotovs and more weapons from there" have a visit!
Jobs:
QuoteSAUG RPG has 10 different jobs we will start with main jobs.
1-Police officer: as a police officer you have to arrest murders and criminals and clear SA from danger and make it safe.2-Gangster: You can do much things such as Rob/Hack shops and ATMs,You can seed drugs and delivery/sell them and earn cash from it,NOTE Gangster hates cops work as gangster and kill all those blue asses!
3-Medic: With medic job you can support both sides by healing or revive them and you get rewarded for that.
4-Taxi: A way to earn easy cash by delivery customers to their destinations.
5-Pizza boy: A way to earn easy cash by delivery pizza's to random destinations.
6-Pilot: A way to earn easy cash by flying with planes and delivery them to destinations"Airports"
7-Hobo: A way to gain free stuffs for just walking around SA it's randomly.
8-Mechanic: Repair the damaged Vehicles!9-Turcker: Delivery Cargos for random destinations and get rewarded.
10-Traffic Unit: Your job as Traffic unit is to catch speed limit breaker and make him pay for it depends on what speed he was driving.
Spawners:
Quotethere is Owned"Colored Green",Free "Colored White" Plane spawner"Colored Green aswell" and group spawner"it depends on what group color is"
Owned: for Vehicles what you bought recently and you can spawn only ground vehicles from it
Free: it depends if you are VIP or not if you are VIP player you can spawn more than normal players vehicles and free unlimited times.
Plane spawner: you can always find them at airports around San andreas map.
Group spawners: it's only group members can spawn from it unlimited and free and you can chose Vehicles whatever you want from who will add it for youLottery:
Quotethere is one seller each city, Ticket costs you 1k, you can chose from 1-30 and you have a chance to win from 30k to 2M, Try your luck!
Login:
QuoteIf you are new and want to register an account in SAUG RPG
First step
go to Register panel:
Name:
Password:
Re-type your password:
Your Email:
Your secret info word(IMPORTANT):after you are done those steps you will directly login into the server but next time you will have to login by entering informations that your registered before
Go Login Panel:
Name:
Password:There is a small squar shown down left the panel we recommended you to mark it for fast login next time "NOT RECOMMENDED IF YOU PLAYING FROM NETCAFE"
There is Panel for recovery if you forgot the password it will send you an small message into your mail to change your password
there is server news panel you can check what is news from it without login and type /updates
you can also check Staff list from last panel "Staffs" without login into forums.
Bus:
Quoteyou can find a few numbers of it around SA it's teleporting you faster inside the city you are in and it's cheap, Give it a try!
SAUG Updates:
QuoteGENERAL 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 PoliceComputer For Cops , 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
Regards
SAUG Staff Team- 4
[Help]Notifications System
in Scripting
Posted
yeaa not message
i need command in it like
t/tando <tex>
t/tando hello everybody