Raised This Month: $51 Target: $400
 12% 

[TF2] JailLazer


Post New Thread Reply   
 
Thread Tools Display Modes
Author
PBFliX
Member
Join Date: Apr 2017
Location: United Kingdom
Plugin ID:
5602
Plugin Version:
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
Servers with this Plugin:
1 
Plugin Description:
Allows warden to draw all over the map!
Old 04-14-2017 , 17:55   [TF2] JailLazer
Reply With Quote #1

Description
Adaptation of Mitchell's plugin found here to allow it to be used in TF2Jail so that only the warden may use it at normal times.

ConVars
sm_jaillazer_version - Shows version

Commands
+laser - Main command to make the magical lasers appear (Bind this one)
-laser - Main command to stop making the magical lasers appear (Not needed if bound)
sm_grant <user> - Allows admins to give users permission to use lasers without being warden.
sm_revoke <user> - Allows admins to take away a users permission to use lasers without being warden.
sm_wgrant <user> <duration> - Allows warden to give people permission to use lasers without being warden for a set given time.
sm_wardengrant <user> <duration> - Same as above.
Note that all commands are default Ban admin flag.

Requirements
TF2Jail Plugin

Includes
tf2jail

Thanks
Mitchell - Made the original plugin, wouldn't have been done without his.
SnowTigerVidz - Updated the syntax of the few bits I was too lazy to.

Anything you want to say leave it below. (Yes I am bad at commenting)
Attached Files
File Type: sp Get Plugin or Get Source (JailLazer.sp - 306 views - 7.5 KB)
File Type: smx JailLazer.smx (22.3 KB, 323 views)

Last edited by PBFliX; 11-26-2017 at 09:54. Reason: Update V 1.4 Cleaned code and added coloured replies.
PBFliX is offline
KoP YT
Junior Member
Join Date: Nov 2015
Location: Look behind you...
Old 04-17-2017 , 23:21   Re: [TF2] JailLazer
Reply With Quote #2

Looks good! Will be sure to test this out.
KoP YT is offline
Riotline
AlliedModders Donor
Join Date: Oct 2015
Location: Half Life 3
Old 04-18-2017 , 03:53   Re: [TF2] JailLazer
Reply With Quote #3

AWESOME PLUGIN!!!! Keep up the good work! If you guys want to see it I'll be using it on my server.

Idk if I can post IPs so if someone can reply with details on that

Edit:

Make sure you add a compiled version of the plugin onto your post because it cannot be compiled through the Web Compiler.
__________________

Last edited by Riotline; 04-18-2017 at 03:54.
Riotline is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 04-18-2017 , 07:41   Re: [TF2] JailLazer
Reply With Quote #4

Maybe you should have just rewrote the entire plugin, that's some old code thats in there that could be cleaned up.

Last edited by Mitchell; 04-18-2017 at 07:42.
Mitchell is offline
PBFliX
Member
Join Date: Apr 2017
Location: United Kingdom
Old 04-20-2017 , 14:23   Re: [TF2] JailLazer
Reply With Quote #5

Quote:
Originally Posted by Mitchell View Post
Maybe you should have just rewrote the entire plugin, that's some old code thats in there that could be cleaned up.
Pretty new to sourcepawn so that wasn't going to happen. May rewrite the old stuff at some point but it works so probably won't, I was only testing some stuff but decided to upload it.
PBFliX is offline
Stropy
Senior Member
Join Date: Feb 2016
Old 04-29-2017 , 16:52   Re: [TF2] JailLazer
Reply With Quote #6

Pretty nice plugin, added it today and players love it. Maybe add cvar to set lifetime of each part?

Edit: Nvm, just read the thread of original plugin

Last edited by Stropy; 05-01-2017 at 02:02.
Stropy is offline
PBFliX
Member
Join Date: Apr 2017
Location: United Kingdom
Old 07-10-2017 , 12:22   Re: [TF2] JailLazer
Reply With Quote #7

Update to V 1.3
Added sm_checklazers to print a list of users who currently have access to lazers (useful for when admins have been giving access to people as there was previously no way to track who had access.)

Mostly updated to new syntax.

Updated some code to look neater.
__________________
PBFliX is offline
cigzag
AlliedModders Donor
Join Date: Nov 2014
Location: NZ
Old 07-10-2017 , 16:20   Re: [TF2] JailLazer
Reply With Quote #8

Quote:
Originally Posted by PBFliX View Post
Mostly updated to new syntax.
lol wut?
cigzag is offline
PBFliX
Member
Join Date: Apr 2017
Location: United Kingdom
Old 07-10-2017 , 16:25   Re: [TF2] JailLazer
Reply With Quote #9

Quote:
Originally Posted by SnowTigerVidz View Post
lol wut?
When I started this plugin I took an older plugin from mitch and was also fairly new to sm. Therefore a lot of the plugin was coded in the old syntax but I updated most of it in this update when I was editing parts of the code.
__________________
PBFliX is offline
cigzag
AlliedModders Donor
Join Date: Nov 2014
Location: NZ
Old 07-12-2017 , 00:30   Re: [TF2] JailLazer
Reply With Quote #10

Quote:
Originally Posted by PBFliX View Post
When I started this plugin I took an older plugin from mitch and was also fairly new to sm. Therefore a lot of the plugin was coded in the old syntax but I updated most of it in this update when I was editing parts of the code.
I see.
cigzag is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:51.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode