Raised This Month: $ Target: $400
 0% 

Gun MOD


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Rast1
Junior Member
Join Date: Jan 2011
Location: Spain
Old 07-18-2011 , 15:56   Gun MOD
Reply With Quote #1

Hello,

Im trying to create a new DM style, itīs similar to old 4KINGS DM or something like that.

Itīs only pistol DM, not Gungame. So there are only pistols to choose and only pistols maps, for example: aim_usp just using usp. The limit is not time, i prefer frags, for example 30.

What do u think, its posible?
THX
Rast1 is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 07-19-2011 , 06:48   Re: Gun MOD
Reply With Quote #2

to restrict weapons in CSDM or gungame will be easier I think
__________________
ANTICHRISTUS is offline
Rast1
Junior Member
Join Date: Jan 2011
Location: Spain
Old 07-19-2011 , 16:38   Re: Gun MOD
Reply With Quote #3

Yes, iīve already done that. I have only pistols, but the true question is how to configurate CSDM to end with frags, not due to time.
Rast1 is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 07-19-2011 , 16:43   Re: Gun MOD
Reply With Quote #4

Frag Limit
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 07-19-2011 , 17:05   Re: Gun MOD
Reply With Quote #5

Quote:
Originally Posted by Rast1
but the true question is how to configurate CSDM to end with frags, not due to time.
try the ticketing mode (an advice, enable everything in plugins-csdm.ini).
Code:
;Round ticketing mode, like FireArms.  First team to use all
; of their death points loses the ability to respawn.
; (must be enabled in csdm.cfg too)
csdm_tickets.amxx
and in csdm.cfg
Code:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;You must be running the ticketing plugin for this section
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[ticketing]
 
;Is round ticketing enabled?
enabled = 1
 
;Number of times a team can have players respawn before they stop
; being able to respawn
tickets = 20
__________________
ANTICHRISTUS is offline
HBxander
Senior Member
Join Date: Jan 2011
Location: Behind you!
Old 07-19-2011 , 17:33   Re: Gun MOD
Reply With Quote #6

This should work:

Code:
#include < amxmodx > #include < cstrike > #define PLUGIN "CSDM MapChange On Kills" #define VERSION "1.0" #define AUTHOR "HBxander" new const prefix [ ] = "[CSDM] MapChange:" new frags_required, newmap public plugin_init ( ) {     frags_required = register_cvar ( "csdm_mapchange_frags", "30" )         register_event ( "DeathMsg", "CmdDeath", "a" ) } public CmdDeath ( ) {     new iPlayer = read_data ( 1 )         if ( get_user_frags ( iPlayer ) == get_pcvar_num ( frags_required ) )     {         new name [ 32 ]         get_user_name ( iPlayer, name, 32 )         server_cmd ( "mp_timelimit" "0.1" )         client_print ( 0, print_chat, "%s Map is changing to %s since %s got %i kills!", prefix, newmap, name, get_user_frags ( iPlayer ) )     } }
__________________
Selling:

- PointMod for Hide And Seek - $20
- Private BlockMaker with Weapon Block And More - $50
- Achievements ( FFA GamePlay ) - $25

PM Me about Private Work!

Last edited by HBxander; 07-19-2011 at 17:42.
HBxander is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 07-19-2011 , 17:37   Re: Gun MOD
Reply With Quote #7

You should check if iPlayer is a player id.

You can use this macro for it:
PHP Code:
#define IsPlayer(%1)    (1 <= %1 <= g_iMaxPlayers)

new g_iMaxPlayers;

// init
g_iMaxPlayers get_maxplayers(); 
It checks if the value is between 1 and the max amount of players.
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
Rast1
Junior Member
Join Date: Jan 2011
Location: Spain
Old 07-20-2011 , 07:07   Re: Gun MOD
Reply With Quote #8

THX guys, wickes links is all i want Really thank you!
Rast1 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 00:06.


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