• HELP ME
    9 replies, posted
Hi all. I have the following files/modules for ULX in my /modules/sh/ folder. For some reason, none of these files work while another is placed in the folder. Why is this, and how do I fix it? Traitor.lua: [CODE]local CATEGORY_NAME = "Traitor" function ulx.Traitor( ply, targs ) for _,v in pairs(targs) do v:SetTeam( TEAM_TERROR ) v:Spawn() v:SetRole(ROLE_TRAITOR) end SendFullStateUpdate() ulx.fancyLogAdmin( ply, true, "#A has made #T a Traitor!", targs ) end local Traitor = ulx.command( "Traitor", "ulx Traitor", ulx.Traitor, "!Traitor" ) Traitor:addParam{ type=ULib.cmds.PlayersArg } Traitor:defaultAccess( ULib.ACCESS_SUPERADMIN ) Traitor:help( "Make target a Traitor." ) [/CODE] Innocent.lua: [CODE]local CATEGORY_NAME = "Innocent" function ulx.Innocent( ply, targs ) for _,v in pairs(targs) do v:SetTeam( TEAM_TERROR ) v:Spawn() v:SetRole(ROLE_INNOCENT) end SendFullStateUpdate() ulx.fancyLogAdmin( ply, true, "#A has made #T an Innocent!", targs ) end local Innocent = ulx.command( "Innocent", "ulx Innocent", ulx.Innocent, "!Innocent" ) Innocent:addParam{ type=ULib.cmds.PlayersArg } Innocent:defaultAccess( ULib.ACCESS_SUPERADMIN ) Innocent:help( "Make target a Innocent." ) [/CODE] Detective.lua: [CODE]local CATEGORY_NAME = "Detective" function ulx.Detective( ply, targs ) for _,v in pairs(targs) do v:SetTeam( TEAM_TERROR ) v:Spawn() v:SetRole(ROLE_DETECTIVE) end SendFullStateUpdate() ulx.fancyLogAdmin( ply, true, "#A has made #T a Detective!", targs ) end local Detective = ulx.command( "Detective", "ulx Detective", ulx.Detective, "!Detective" ) Detective:addParam{ type=ULib.cmds.PlayersArg } Detective:defaultAccess( ULib.ACCESS_SUPERADMIN ) Detective:help( "Make target a Detective." ) [/CODE] [highlight](User was banned for this post ("Undescriptive thread title, wrong section, making multiple threads" - postal))[/highlight]
Please direct yourself to here, [url]http://facepunch.com/forumdisplay.php?f=65[/url] ,for correct help.
holy wrong section. here have a link [URL="http://facepunch.com/forumdisplay.php?f=16"]http://facepunch.com/forumdisplay.php?f=65[/URL] [editline]18th March 2013[/editline] oh you fucker
[QUOTE=WhiteHusky;39964979]Please direct yourself to here, [url]http://facepunch.com/forumdisplay.php?f=65[/url] ,for correct help.[/QUOTE] NOBODY DOWN THERE WILL FUCKING HELP ME
[QUOTE=TheSpy7;39965006]NOBODY DOWN THERE WILL FUCKING HELP ME[/QUOTE] Post the errors you see in the console.
[QUOTE=TheSpy7;39965006]NOBODY DOWN THERE WILL FUCKING HELP ME[/QUOTE] Lay off the caps and try to use a title that shows the problem. Like 'ULX Modules are not working' Also, you can rename thread titles now, so yeah.
[QUOTE=TheSpy7;39965006]NOBODY DOWN THERE WILL FUCKING HELP ME[/QUOTE] And you think we will? :v:
[quote]Never tell your password to anyone. 6:00 PM - TheSpy7: You know anything about ULX modules? 6:01 PM - Turtleey: nope 6:02 PM - TheSpy7: fuck 6:02 PM - TheSpy7: i need lua help 6:21 PM - TheSpy7 is now Online. 7:00 PM - TheSpy7: [url]http://facepunch.com/showthread.php?t=1254771[/url] 7:56 PM - TheSpy7 is now Online. 7:56 PM - TheSpy7: ? 7:56 PM - Turtleey: i told you, I don't know anything about ulx modules 7:59 PM - TheSpy7: HELP ME GODDAMN IT 7:59 PM - Turtleey: what is the big fucking problem 7:59 PM - Turtleey: what, you can't play TTT on your unique server? 8:00 PM - TheSpy7 is now Busy.[/quote] The more people you bug about this, the less people will want to help you.
the people in lua help know lua the people here know LMAO pics. just go post there and be patient Oh and I took a peek at your script. uhhhh, you realize there's already built in commands to make people a traitor or detective built in?
If you dont know how to deactivate caps, of course nobody is going to help you.
Sorry, you need to Log In to post a reply to this thread.