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

DM Spec


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose       
bvibhav
New Member
Join Date: Sep 2012
Old 01-11-2013 , 08:38   DM Spec
Reply With Quote #1

DM Spec:

This plugin helps a user/admin to go to spec and respawn himself using /spec and /unspec or /rest and /play. This plugin is specially designed for working with CSDM. some of the code used in the plugin is taken from the plugin AMX Super http://forums.alliedmods.net/showthread.php?p=166806. The plugin also removes the corpse stay of the player who is spectating through this plugin. It also enables disables the command usage for admins only using cvar so Admin can check for a hacker/cheater and take action and come back to play without affecting score or without reconnection.

Features:
1. Can be made only available for admins as well as players using cvar
2. Two command sets for not interfering with other plugins using similar say command
3. Weapon set change to give m4a1 to ct's and ak47 to t's under respawn

In order to change the command set in middle of game, a server restart is required

Quote:
CVAR's:

//ALL VALUES BY DEFAULT ARE 0

amx_dmspec 0/1 //0-for admins only 1-for all players
amx_dmspec_wp 0/1 //0-for default weapons 1-for advanced weapons(ak and m4)
amx_dmspec_cmdset 0/1 //0-for /spec /unspec 1-for /rest /play

Client Commands
/spec //requires amx_dmspec_cmdset 0
/unspec //requires amx_dmspec_cmdset 0
/rest //requires amx_dmspec_cmdset 1
/play //requires amx_dmspec_cmdset 1
Attached Files
File Type: sma Get Plugin or Get Source (dmspec.sma - 1027 views - 2.4 KB)

Last edited by bvibhav; 01-11-2013 at 08:46.
bvibhav is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 10-16-2015 , 10:54   Re: DM Spec
Reply With Quote #2

Badly indented and pretty useless. Unapproved.
__________________
HamletEagle is offline
Chillblaze
Junior Member
Join Date: Mar 2016
Old 04-11-2016 , 17:51   Re: DM Spec
Reply With Quote #3

None of the /spec plugins works good for me so I Tested it anyways (in dm respawn)... Moving to spec is ok . No death (but it counts death in top15)and body also disappeared quick.
But moving back to team doesn`t work every time , instead its spawning back to no-team...
When killed while no-team it returns you back to dead instead of respawning
Combined with amx_transfer bind for t/ct its OK , I use it only because of the body disappearing...

Hamlet sorry to revive this ... but what do you mean by badly indented?

Last edited by Chillblaze; 04-12-2016 at 16:07.
Chillblaze is offline
WAR3DM
Senior Member
Join Date: Mar 2016
Old 05-04-2016 , 14:49   Re: DM Spec
Reply With Quote #4

It's a good idea, but pretty broken.

Could anyone fix the /unspec?

Last edited by WAR3DM; 05-04-2016 at 14:57.
WAR3DM 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 07:57.


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