Unlimited-Clips
Okay i was looking for a plugin that gives unlimited clips on connect to a player, didnt find out so i decided to create one, but i wanna make sure if the code is good, and well it work at all?? so heres my code......
PHP Code:
Thanks in advance!!!:) |
Re: Unlimited-Clips
Here you go
I added 1 to the max clip ammo just so the clip ammo will always appear full instead of -1. ie. Using glock should always say 12 but without +1 it will always say 11. I'm not sure if the +1 will cause errors or not, it didn't while I tested. If you don't care about the clip ammo always being -1 of max then just remove the +1. PHP Code:
|
Re: Unlimited-Clips
Okay cool, is this still my original code, u just fix some errors?
|
Re: Unlimited-Clips
I used your fm functions so I wouldn't have to dig through my inc's. Everything else is new
|
Re: Unlimited-Clips
Okay so u wouldent mind if i post this in new submission with my name on it?
|
Re: Unlimited-Clips
I don't care, just give credit please. Are you sure this doesn't already exist?
http://forums.alliedmods.net/showthread.php?t=26991 ?? |
Re: Unlimited-Clips
Yea but that one u need to be using amx_ammo <nick,#userid> <0|1>
everytime a player connects, and this one doesnt. |
| All times are GMT -4. The time now is 13:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.