SRCDS Steam group


Max Ammo!
#1
hey i was wondering how to make it so every one gets max ammo with the gun they buy on deathmatch mod

anyone no how?

Thanks Troy.
Reply
#2
I dont know if you already know it but i will post it anyway

this you must paste in the server.cfg

Quote:ammo_338mag_max 200
ammo_357sig_max 200
ammo_45acp_max 240
ammo_50AE_max 200
ammo_556mm_box_max 500
ammo_556mm_max 999
ammo_57mm_max 200
ammo_762mm_max 666
ammo_9mm_max 200
ammo_buckshot_max 100
ammo_flashbang_max 2
ammo_hegrenade_max 1
ammo_smokegrenade_max 1

if you use mattie eventscript and want to let people rebuy things put this in cstrike/cfg/events/player_say.cfg

Quote:if (event_var(text) equalto "cash") then ma_givecash #all 16000
if (event_var(text) equalto "ammo") then ma_giveammo #all 1 1 999
if (event_var(text) equalto "ammo") then ma_giveammo #all 0 1 999


I got it from Astroboy and they both works fine

GreetzZz watchout3
Reply
#3
you can also change the number of ammoclpis

just by changing the last numbers
ammo_338mag_max 200
Reply
#4
Here's a list of ammo explanations I made a while back (Took hell lot of time to check every bloody gun ingame which ammo it uses!)

Code:
//------ammo explanation------\\
//----------------------------\\
//
//338mag     = .338 LAPUA MAGNUM
//         (Guns: MAGNUM SNIPER RIFLE)    
//
//357sig     = .357 SIG
//         (Guns: 228 COMPACT)
//
//45acp     = .45 ACP
//         (Guns: KM .45 TACTICAL, KM UMP45, INGRAM MAC-10)
//
//50AE         = .50 ACTION EXPRESS
//         (Guns: NIGHT HAWK)
//
//556mm_box     = 5.56 PARABELLUM
//         (Guns: M249)
//
//556mm     = 5.56 NATO
//         (Guns: CLARION 5.56, MAVERICK M4A1 CARBINE,
//         KRIEG 550 COMMANDO, IDE DEFENDER, KRIEG 552)
//
//57mm         = 5.7x28mm
//        (Guns: ES FIVE-SEVEN)
//
//762mm     = 7.62 NATO
//         (Guns: BULLPUP, SCHMIDT SCOUT, CV-47, D3/AU-1)
//
//9mm         = 9MM PARABELLUM
//         (Guns: 9x19mm SIDEARM, SCHMIDT MACHINE PISTOL,
//         KM SUB-MACHINE GUN, .40 DUAL ELITES)
//
//buckshot     = 12 GAUGE
//         (Guns: LEONE 12 GAUGE SUPER, LEONE YG1265 AUTO SHOTGUN)
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#5
how can i get 2 HE?
print ammo_hegrenade_max 2
but can buy only 1
from Russia with love
Reply
#6
Did you put it in the server.cfg or did you type it in the console?
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#7
in config
but only 1 HE
from Russia with love
Reply
#8
Hmm that's weird, could be that there's limit of 1 maximum buy coded into the game..

Can you pick a second one up though?
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#9
@filoret
it may be a stupid question but did you restarted your server??
or mayby forgot a letter

you can also try it whit a gun(more ammo) to see if that works

@dracona
tnx for the gun/ammo list now i know what guns their ammo im limiting :p
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)