• ULX Police Ticket System
    24 replies, posted
[url=http://forums.ulyssesmod.net/index.php/topic,8598.0.html][b]Original Post[/b][/url] [u][b]ULX Police Ticket System V2.5[/b][/u] What is this: This is a police ticket system that is only for people who use ULX AND DarkRP! Police can give tickets to players that have broke rules and then the players have to pay them! This addon is pretty much a cheaper version of [url=https://scriptfodder.com/scripts/view/1236]this[/url] (this addon is free and does not have a vgui only a ulx command) To Do: Add more config options Make a non-ulx version Make a new YouTube Video for the new versions(Just need to edit the video) Add a reason feature(done) Add a auto wanted system for people who don't pay their tickets!(done) Add a remove ticket command(done) Add a ticket check command(done) Add version check(done) [code] Change Log: V3.0 Added a changelog IN the code Added CPTS_JobsCanUse config option to pick what jobs can use ticket commands Added CPTS_TicketsStack config option to decide whether tickets will stack on price Added a better way to want people Added a config to want people Fixed couple of simple bugs (ulx ticketcheck system now works better) Fixed the Version Check and made it a tiny bit better on notifications! Made a new Youtube Video that will be out soon (just need to edit stuff) I no longer have the older version for download on the ULX website so you can find them in the FP forum! (here) V2.5 Added a reason system Changed some grammar issues Added a system that tickets can NOT stack V2.0 Added a auto wanted system if people don't pay the ticket Added a config option to change the amount of time before the player gets wanted V1.5 Added a video to the forums Added a remove ticket command Added a ticket check command V1.0 Release Notes: You need ULX AND DarkRP!!!!!! Leave comments here to suggest features and leave feedback! [/code] [B][U]DOWNLOADS:[/U][/B] [url=https://www.mediafire.com/?xtmmvdzzbuftk91]V1.0 (outdated)[/url] [url=https://www.mediafire.com/?s3a8m13qxfivpfl]V1.5 (outdated)[/url] [url=https://www.mediafire.com/?gt5vj7r6w3kcmo1]V2.0(outdated)[/url] [url=https://www.mediafire.com/?htpbftcmbkkh9f9]V2.5(outdated)[/url] [url=https://www.mediafire.com/?sedm926chtcajj9]V3.0(current)[/url] [url=https://www.youtube.com/watch?v=Eyzc55FLjEw]VIDEO V1.5 (new video coming soon)[/url] Check out my other addons: [url=https://facepunch.com/showthread.php?t=1513152]Player Review System[/url] [url=https://facepunch.com/showthread.php?t=1513148]Version check[/url] [url=https://facepunch.com/showthread.php?t=1512132]LMM's in-game and emai report system[/url] [url=https://facepunch.com/showthread.php?t=1496159]Bail NPC[/url] [url=https://facepunch.com/showthread.php?t=1501856]Lottery Tickets[/url] [url=https://facepunch.com/showthread.php?t=1503818]Shoutbox[/url] [url=https://facepunch.com/showthread.php?t=1501445]Mayor Menu/Console[/url] [url=https://facepunch.com/showthread.php?t=1497384]Bind Menu[/url] [url=https://facepunch.com/showthread.php?t=1487374]PrivKeys[/url]
seems useless in my opinion, seeing how not everyone uses ULX.
[QUOTE=thekiller123;47810539]seems useless in my opinion, seeing how not everyone uses ULX.[/QUOTE] Almost all DarkRP servers use ULX (not the custom ones) but most do!
Wow neat I had a similar idea. You should add some screenshots of what it looks like.
[QUOTE=Vilusia;47810987]Wow neat I had a similar idea. You should add some screenshots of what it looks like.[/QUOTE] I'm uploading a video soon! I've been really busy lately
[url]https://www.youtube.com/watch?v=Eyzc55FLjEw&ab_channel=XxLMM13xXgaming[/url] Video of it working :)
Why does it need to be run through ULX? Everything you are doing could be done without it.
[QUOTE=Vilusia;47812059]Why does it need to be run through ULX? Everything you are doing could be done without it.[/QUOTE] Yes. I'm pretty new to lua and don't know how to make chat commands (with args) and ULX fills all that in! I will soon be converting!
[QUOTE=XxLMM13xXx;47812070]Yes. I'm pretty new to lua and don't know how to make chat commands (with args) and ULX fills all that in! I will soon be converting![/QUOTE] The example from the wiki: [code]hook.Add( "PlayerSay", "Killurself", function( ply, text, public ) text = string.lower( text ) -- Make the chat message entirely lowercase if ( string.sub( text, 1 ) == "!kill" ) then ply:Kill() return false end end )[/code] [url]http://wiki.garrysmod.com/page/GM/PlayerSay[/url] I hope this helps.
It does not have args... (Ex. !giveticket PLAYER PRICE)
[lua] local args = string.Explode(string.sub(text, 5), " ") -- Get the text from after the space and on and split it into a table by spaces [/lua]
This will end in a total flame war. People just give tickets to every person they want to so they get the money. Beside, what happens if someone doesn't pay the ticket? Beside your ticket-check command (which is annoying to use, just like the other commands) there isn't a way to find out.
[QUOTE=freakyy;47815098]This will end in a total flame war. People just give tickets to every person they want to so they get the money. Beside, what happens if someone doesn't pay the ticket? Beside your ticket-check command (which is annoying to use, just like the other commands) there isn't a way to find out.[/QUOTE] Right now i'm working on a timer system that if the layer does not pay in x amount of time they get wanted but for right now the ticket check system is going to have do that job.
Darkrp has it own chat commands [URL="http://wiki.darkrp.com/index.php/LUA:DarkRP_Chat_Command"]system[/URL], it would be better to use that instead of ulx.
[QUOTE=E.N.I.G.M.A;47816321]Darkrp has it own chat commands [URL="http://wiki.darkrp.com/index.php/LUA:DarkRP_Chat_Command"]system[/URL], it would be better to use that instead of ulx.[/QUOTE] Thanks!! I'll look into it!
I dont understand why so much people a rating him dumb, its maybe his first work and its still pretty usefull even if not everyone use ulx ... Keep up mate
[QUOTE=sifly_04;47816410]I dont understand why so much people a rating him dumb, its maybe his first work and its still pretty usefull even if not everyone use ulx ... Keep up mate[/QUOTE] Thanks!!! Yes it's one of my firsts!
Fuck everyone else, it's a great start and you're doing better than 99% of Facepunch by taking onboard criticism and working to improve it <3
Yep don't be disheartened by people giving you grief. ULX is an admin mod so you don't really want to cross your purposes by putting a gamemode function in it. Add it to [url=http://wiki.darkrp.com/index.php/Creating_modules]DarkRP[/url].
I only rated it dumb because the OP looks messy and low quality and basically says "go to this forum instead if you want any info or help cause i don't care about this one", other than that once it isn't dependent on ulx i'm sure it's great
[QUOTE=Smt;47817647]I only rated it dumb because the OP looks messy and low quality and basically says "go to this forum instead if you want any info or help cause i don't care about this one", other than that once it isn't dependent on ulx i'm sure it's great[/QUOTE] I'm updating this addin a lot! I don't feel like editing EVERY forum i'm on
[QUOTE=XxLMM13xXx;47818163]I'm updating this addin a lot! I don't feel like editing EVERY forum i'm on[/QUOTE] Facepunch is your biggest asset. I would put some time on here, it will help.
[QUOTE=Vilusia;47819611]Facepunch is your biggest asset. I would put some time on here, it will help.[/QUOTE] [B][U]I HAVE ADDED THE WHOLE POST FOR THE PEOPLE WHO CANT CLICK A LINK AND VISIT ANOTHER WEBSITE[/U][/B] [editline]28th May 2015[/editline] [B][U]NEW VERSION!!! CHECK THE CHANGELOG TO SEE WHAT'S NEW[/U][/B]
[B][U]New Version!!! Check change log to see whats new! (V2.5)[/U][/B]
[B][U]NEW VERSION AND NEW VIDEO COMING SOON!![/U][/B]
Sorry, you need to Log In to post a reply to this thread.