[CS:GO] - ⋯ Ammo management | Set correctly the ammo amout for each weapons
I - Description
Everytime I had a Valve update "items_game.txt" was reset. So I did this plugin for my community Zombie4ever.eu and Zombie Escape/Riot servers. Allow you to manage weapon ammo instead of using "items_game.txt" II - Cvars drapi_ammo_338mag_max "30" - AWP drapi_ammo_357sig_max "52" - HPK2000 drapi_ammo_357sig_min_max "12" - CZ75 drapi_ammo_357sig_p250_max "26" - P250 drapi_ammo_357sig_small_max "24" - USP-S drapi_ammo_45acp_max "100" - FIVESEVEN drapi_ammo_50AE_max "35" - DEAGLE drapi_ammo_556mm_box_max "200" - M249, NEGEV drapi_ammo_556mm_max "90" - M4A1, AK47, FAMAS, GALILAR drapi_ammo_556mm_small_max "40" - M4A1-S drapi_ammo_57mm_max "100" - P90, UMP45, MAC10 drapi_ammo_762mm_max "90" - SSG08, AUG, SG556, G3SG1, SCAR20 drapi_ammo_9mm_max "120" - ELITE, TEC9, MP7, MP9, GLOCK, BIZON drapi_ammo_buckshot_max "32" - MAG7, NOVA, SAWEDOFF, XM1014 This are default ammo. Don't put less than this values in your config "/csgo/cfg/sourcemod/drapi/drapi_ammo.cfg". III - Bugs FIXED - For no reason, if you reach 0 ammo you will get in plus default ammo of weapon. So what I did for example, AK47 Weapon ammo = drapi_ammo_556mm_max - default ammo. VI - Credits SMLIB for some useful functions VII - Changelogs Quote:
Anjin to check and tell me the correct cvars. IX - Donate If you like my work. https://www.paypalobjects.com/en_US/...onateCC_LG.gif X - Download GIT |
Re: [CSGO] - Ammo management | Zombie Escape / Riot
V1.1.0 Tried on differents SM version works.
|
Re: [CSGO] - Ammo management | Zombie Escape / Riot
Nice plugin!
Code:
#include <autoexec> |
Re: [CSGO] - Ammo management | Zombie Escape / Riot
Quote:
|
Re: [CSGO] - Ammo management | Zombie Escape / Riot
ok, thx.
Another question: why, in the plugin installed and configured, the game displays the same number of ammo? example: in game M4A1-S - 20/40 in drapi_ammo.cfg: M4A1-S - 80 |
Re: [CSGO] - Ammo management | Zombie Escape / Riot
Quote:
M4A1-S should put more than 80 cause at base you have 80 ammo on the M4A1-S. |
Re: [CSGO] - Ammo management | Zombie Escape / Riot
could you add execution on player spawn to your script??
|
Re: [CSGO] - Ammo management | Zombie Escape / Riot
Quote:
|
Re: [CSGO] - Ammo management | Zombie Escape / Riot
ok. works but not instantly in buyzone. when i bought p250 (changed to 52 ammo) i still saw 26 ammo in reserve. when i switched weapons and went back to secondary it showed 52 bullets. fired 3 rounds, reloaded, 49 bullets in reserve. works like a charm. maybe a little delay (timer 0.2) after purchasing?
[edit] my bad. timer works. cheers mate |
Re: [CSGO] - Ammo management | Zombie Escape / Riot
Quote:
|
Re: [CSGO] - Ammo management | Zombie Escape / Riot
I have to tell you, that spawn ammo changing does not work at all. I tested it yesterday while in T team and after purchasing p250 ammo was set correctly. I have joined the server today as a CT this time. Spawned with USP and spare ammo was still 24. same was with m4a1-s when i bought it. there has to be some kind of missmatch in props.
|
Re: [CSGO] - Ammo management | Zombie Escape / Riot
Quote:
|
Re: [CSGO] - Ammo management | Zombie Escape / Riot
I didn't have the time to check it out completely. Tomorrow is national holiday in my country and I'll have the time test it out completely.
|
Re: [CSGO] - Ammo management | Zombie Escape / Riot
Quote:
Detect weapons silencer. |
Re: [CSGO] - Ammo management | Zombie Escape / Riot
good job man !! works like it supposed to.
|
Re: [CSGO] - Ammo management | Zombie Escape / Riot
Quote:
|
Re: [CSGO] - Ammo management | Zombie Escape / Riot
plugin is not working correctly
videos: http://www.youtube.com/watch?v=96_aP2Dys74 error log: Code:
L 06/03/2015 - 23:13:00: SourceMod error session started |
Re: [CSGO] - Ammo management | Zombie Escape / Riot
Quote:
Can you give me your ip. (217.25.239.83:27015) ?? OTHERWISE it exist a V1.1.2 Try it before and tell me. |
Re: [CSGO] - Ammo management | Zombie Escape / Riot
Yes, ip 217.25.239.83:27015
When you go to the server, the plugin was removed from the server as soon as I install the plugin version 1.1.2, I will write in this thread |
Re: [CSGO] - Ammo management | Zombie Escape / Riot
Quote:
|
Re: [CSGO] - Ammo management | Zombie Escape / Riot
1.1.2 installed, the plugin still does not work properly
|
Re: [CSGO] - Ammo management | Zombie Escape / Riot
Quote:
|
Re: [CSGO] - Ammo management | Zombie Escape / Riot
Code:
L 06/07/2015 - 11:14:07: SourceMod error session started |
Re: [CSGO] - Ammo management | Zombie Escape / Riot
1 Attachment(s)
Quote:
|
Re: [CSGO] - Ammo management | Zombie Escape / Riot
It does not work
Code:
L 06/07/2015 - 20:51:59: SourceMod error session started |
Re: [CSGO] - Ammo management | Zombie Escape / Riot
which version of sourcemod and metamod? i haven't looked into source code but if its 1.7 compliant then it won't work on 1.6
|
Re: [CSGO] - Ammo management | Zombie Escape / Riot
sourcemod 1.7.2
metamod 1.10.5 Code:
sm plugins list |
Re: [CSGO] - Ammo management | Zombie Escape / Riot
CS:GO Weapon Paint maybe cause conflict.
Give us the drapi_ammo.cfg too |
Re: [CSGO] - Ammo management | Zombie Escape / Riot
Quote:
|
Re: [CSGO] - Ammo management | Zombie Escape / Riot
Code:
// Enable/Disable Dev Mod |
Re: [CSGO] - Ammo management | Zombie Escape / Riot
Ok so only P250, USP-S and M4A1-S are increased.
Try to set drapi_ammo_357sig_p250_max "141" something like that. It have to show you 141 - 26 = 115 ammo. |
Re: [CSGO] - Ammo management | Correct Amount
V1.2.0
Added M4A1. No bug anymore when reach 0. Ammo are set correctly. So, The number you put in the drapi_ammo.cfg will be exactly the same in game for the weapon. No bug when you reach 0 etc... |
Re: [CSGO] - Ammo management | Set correctly the ammo amout for each weapons
install version 1.2.0
Now all works Dr. Api, thanks you |
Re: [CSGO] - Ammo management | Set correctly the ammo amout for each weapons
Quote:
Tell me if you have an issue when you takeover a bot. Think I will need to do something with that. |
Re: [CSGO] - Ammo management | Set correctly the ammo amout for each weapons
So this plugin only change the amount of ammo in backpack not in the gun right (clip size) ?
|
Re: [CSGO] - Ammo management | Set correctly the ammo amout for each weapons
Quote:
|
Re: [CSGO] - Ammo management | Set correctly the ammo amout for each weapons
Quote:
|
Re: [CSGO] - Ammo management | Set correctly the ammo amout for each weapons
Quote:
|
Re: [CSGO] - Ammo management | Set correctly the ammo amout for each weapons
Ok thanks, I see.
|
Re: [CSGO] - Ammo management | Set correctly the ammo amout for each weapons
Quote:
|
All times are GMT -4. The time now is 14:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.