Raised This Month: $99 Target: $400
 24% 

Deathmatch wClasses v1.2


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
Blizzard_87
AlliedModders Donor
Join Date: Oct 2012
Old 01-01-2013 , 20:22   Deathmatch wClasses v1.2
Reply With Quote #1

DeathMatch w/Classes
v1.2
By Blizzard


ThreadStart
-= [ Description ] =-

i got the idea for this mod from a friend of mine who asked me to help him with a classes menu for his server.... then i thought why not make a full mod with classes that can be saved or used once a round.
similar to the guns menu on CSDM, the game play also has respawn and protection in spawn, with 5 classes to choose from.

-= [ Classes ] =-

Class | Primary Gun

Light | SMGS
Medium | Assault Rifles
Heavy | M249
Sniper | Random Sniper Rifle
Stealth | Knife [+ Transparency Ability]

-= [ Cvars ] =-

amx_advert 60 (default) time between ads shown
amx_respawn 1 (default) 1/0 On/Off
dm_gamename "DeathMatch v%i" (Default)
dm_SProtect 1 (default) 1/0 On/Off Spawn Protection

-= [ Client Commands ] =-

/enable - cancels saved class and re-enables class menu next round
/classinfo - shows MOTD of classes and what you get with them
/ct, /t, /spec - quick way to change team

(M) - opens up DM Menu, which has few options and also allows admins to turn on/off respawn and free for all mod.
/respawn - respawns player

-= [ Credits ] =-

* ZP Random Spawns: Used some Code For Random Spawns
* The3Snakes: Testing Game Play
* ConnorMcLeod: Block BuyZone, Free For All Mode, MenuCallback
* fysiks: MenuCallback
* Alot More Credits: cant remember names sorry guys

-= [ Requirments ]=-

CSDM Random Spawn Creator
- To Create Random Spawns On Maps
Parachute Model
ThreadEnd
.
Attached Files
File Type: txt RankInfo.txt (1.5 KB, 189 views)
File Type: zip parachute_model.zip (64.1 KB, 146 views)
File Type: sma Get Plugin or Get Source (DeathMatch.sma - 738 views - 44.8 KB)

Last edited by Blizzard_87; 04-25-2015 at 13:07.
Blizzard_87 is offline
Blizzard_87
AlliedModders Donor
Join Date: Oct 2012
Old 01-02-2013 , 01:39   Re: Deathmatch w/Classes
Reply With Quote #2

Change Log:

v1.2

fixed respawn menu_callback function bug.
changed admin menu_callback to simple paccess ADMIN_KICK flag.

v1.1

changed respawn & admin checks into menu_callbacks.

Last edited by Blizzard_87; 01-04-2013 at 07:22.
Blizzard_87 is offline
DJHD!
Veteran Member
Join Date: Dec 2009
Location: Santiago, Chile
Old 01-03-2013 , 03:32   Re: Deathmatch w/Classes
Reply With Quote #3

not use fakemeta_util
__________________
Quote:
Originally Posted by XINLEI View Post
Porque rocccos trata de ser el metalicross que nunca va a poder ser.
DJHD! is offline
Send a message via MSN to DJHD!
Blizzard_87
AlliedModders Donor
Join Date: Oct 2012
Old 01-03-2013 , 04:25   Re: Deathmatch w/Classes
Reply With Quote #4

Quote:
Originally Posted by DJHD! View Post
not use fakemeta_util
dont use it or its not needed?

[edit]

updated and re-uploaded

Last edited by Blizzard_87; 01-03-2013 at 04:26.
Blizzard_87 is offline
simanovich
AlliedModders Donor
Join Date: Jun 2012
Location: Israel
Old 01-03-2013 , 08:00   Re: Deathmatch w/Classes
Reply With Quote #5

1. If you including fakemeta, don't use the fun moudle, fakemeta is much better and faster.

2. Storing data in the menu need only when need.
You don't need store keys.

If you want to enable/disable item in the menu use callback, it's better then doing useless "if"s.
__________________

I'm awesome, and I realy like cookie.
simanovich is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-03-2013 , 12:19   Re: Deathmatch w/Classes
Reply With Quote #6

Quote:
Originally Posted by simanovich View Post
1. If you including fakemeta, don't use the fun moudle, fakemeta is much better and faster.
Wrong, way wrong. Search around to learn about efficency
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (intervening in a thread, asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Blizzard_87
AlliedModders Donor
Join Date: Oct 2012
Old 01-03-2013 , 16:35   Re: Deathmatch w/Classes
Reply With Quote #7

Quote:
Originally Posted by simanovich View Post

If you want to enable/disable item in the menu use callback, it's better then doing useless "if"s.
ok I'll change this when I get time.

[edit]

added callbacks, but small bug with respawn option always stays white in menu even if disabled.

Last edited by Blizzard_87; 01-03-2013 at 22:14.
Blizzard_87 is offline
Blizzard_87
AlliedModders Donor
Join Date: Oct 2012
Old 01-04-2013 , 07:23   Re: Deathmatch w/Classes v1.2
Reply With Quote #8

updated sma file with bug fixes.

if anyone has already downloaded it. i suggest re-downloading the updated version

Last edited by Blizzard_87; 01-04-2013 at 07:33.
Blizzard_87 is offline
Blizzard_87
AlliedModders Donor
Join Date: Oct 2012
Old 04-20-2014 , 11:17   Re: Deathmatch w/Classes v1.2
Reply With Quote #9

Please UnApprove This Or Trash Thanks.
__________________
Blizzard_87 is offline
Reply


Thread Tools
Display Modes

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 15:39.


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