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

DeathMatch Spec Switch


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose       
many
Member
Join Date: Jul 2007
Location: Russian, Moscow
Old 08-19-2010 , 13:18   DeathMatch Spec Switch
Reply With Quote #1

DeathMatch Spec Switch

.: Description :.

This is a system for switch between team and Spectator for DeathMatch MODs. Type /spec if you want to go Spectator. Type /back to return from Spectator to your comand. After /back command you will respawn in place on map where you used /spec Your hp will set to value before /spec and all of your weapons will return with ammo.

dm_specmode 2:
Admins with kick flag can use /spec, /back commands. Players can use this commands too but they need to enter verify code for /spec command.

dm_specmode 1:
Only admins with flag kick can use /spec and /back commands.

dm_specmode 0:
Anybody can use /spec and /back commands without verify code check

Plugin creat file verify_code.ini in /amxmodx/configs/ with 30 verify codes

.: Cvars :.
Code:
dm_specmode 0|1|2
0 - enable for all
1 - enable only for ADMINs
2 - Players must enter verify code
Default:
dm_specmode "2"

.: Requires :.

Fakemeta
Hamsandwich
Cstrike
Attached Thumbnails
Click image for larger version

Name:	examp.jpg
Views:	2667
Size:	6.0 KB
ID:	72109  
Attached Files
File Type: sma Get Plugin or Get Source (dm_spec.sma - 1692 views - 13.5 KB)

Last edited by many; 08-22-2010 at 17:44.
many is offline
RedRobster
Veteran Member
Join Date: Apr 2010
Location: Your Closet
Old 08-19-2010 , 13:21   Re: DeathMatch Spec Switch
Reply With Quote #2

This is for CS1.6 and Czero only.

Code looks pretty good. I haven't looked at the specifics, but syntax looks fine.

Last edited by RedRobster; 08-19-2010 at 13:24.
RedRobster is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 08-19-2010 , 17:32   Re: DeathMatch Spec Switch
Reply With Quote #3

You should use a menu or something to confirm spectating, if someone is in a really rush to get afk or spectator, having to type something randomly is really annoying.

Another thing would be nice, a total conversion... /pause, it freezes you and makes you invisible, not collideable and not damageable... and that's kinda it, until you unpause, simplier and more accurate for different mods that return your exact stuff by not actually taking them in the first place.
__________________

Last edited by Hunter-Digital; 08-19-2010 at 17:35.
Hunter-Digital is offline
talibana
Member
Join Date: Oct 2008
Location: United Kingdom
Old 08-19-2010 , 17:49   Re: DeathMatch Spec Switch
Reply With Quote #4

nice plugin bad i found BUG after /back command respawn fake player

http://a.**************/img12/5366/31782022.png
talibana is offline
many
Member
Join Date: Jul 2007
Location: Russian, Moscow
Old 08-19-2010 , 18:23   Re: DeathMatch Spec Switch
Reply With Quote #5

Quote:
Originally Posted by Hunter-Digital View Post
You should use a menu or something to confirm spectating, if someone is in a really rush to get afk or spectator, having to type something randomly is really annoying.

Another thing would be nice, a total conversion... /pause, it freezes you and makes you invisible, not collideable and not damageable... and that's kinda it, until you unpause, simplier and more accurate for different mods that return your exact stuff by not actually taking them in the first place.
I specially make this code check, becouse some players bind /spec on key and when they understand that they would be killed right now they immediately go to Spectators


Quote:
Originally Posted by talibana View Post
nice plugin bad i found BUG after /back command respawn fake player

http://a.**************/img12/5366/31782022.png
Thank you, try to fix it
many is offline
RedRobster
Veteran Member
Join Date: Apr 2010
Location: Your Closet
Old 08-19-2010 , 18:27   Re: DeathMatch Spec Switch
Reply With Quote #6

Quote:
Originally Posted by Hunter-Digital View Post
Another thing would be nice, a total conversion... /pause, it freezes you and makes you invisible, not collideable and not damageable.
I like that idea. I would also make it so that when you type /pause it takes a random number of seconds before it unfreezes you or unpauses you so that you cannot use it as like a strategy weapon. Or maybe so that it just respawns you when you unfreeze. That would also make it so that you could only do it a certain number of times every map.
RedRobster is offline
many
Member
Join Date: Jul 2007
Location: Russian, Moscow
Old 08-19-2010 , 18:33   Re: DeathMatch Spec Switch
Reply With Quote #7

talibana, I think i fix this bug
many is offline
snowyledge
BANNED
Join Date: Dec 2009
Old 08-19-2010 , 18:35   Re: DeathMatch Spec Switch
Reply With Quote #8

Spelled really wrong.
snowyledge is offline
many
Member
Join Date: Jul 2007
Location: Russian, Moscow
Old 08-19-2010 , 18:42   Re: DeathMatch Spec Switch
Reply With Quote #9

you can use freeze only for pause, but if u want go to spectator?
_____________________________________________ ___________________

Quote:
Originally Posted by snowyledge View Post
Spelled really wrong.
what u mean?
many is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 08-19-2010 , 20:59   Re: DeathMatch Spec Switch
Reply With Quote #10

Quote:
Originally Posted by RedRobster View Post
I like that idea. I would also make it so that when you type /pause it takes a random number of seconds before it unfreezes you or unpauses you so that you cannot use it as like a strategy weapon. Or maybe so that it just respawns you when you unfreeze. That would also make it so that you could only do it a certain number of times every map.
Come to think of it, that's not really a good ideea (my ideea)... you can't really make it abuse-proof... and I think neither is this plugin, but I didn't look at the code.

Best way is to just suicide or make yourself a target to get killed and move spectator... this beeing the plugin-less method and best way I might add
__________________
Hunter-Digital 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 16:30.


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