Simple No Reload, A
Hey fellas,
I am learning the logic of programming in my CIS110 class (taking finals in a week) and I run a few servers for Counter-Strike 1.6. One is a zombie mod server which is often criticized for players having to reload their weapons. Could someone perhaps give me some guide lines to what will need to know to create this simple no reloading plugin. I have the essentials (amx studio, knowing how to properly code) Hopefully this is one of the better newbie posts and will get a little attention for a new confused modder. A good example of the logic for something like this would be awesome. Thanks. p.s. The zombie plugin I am using already gives you infinite ammo so that really wouldn't need to be included, just a simple no reload script. |
Re: Simple No Reload, A
You can check out this source maybe:
http://forums.alliedmods.net/showthread.php?p=230183 |
Re: Simple No Reload, A
Quote:
EDIT: Think I have something here: Code:
stock maxclip(weapon) |
Re: Simple No Reload, A
The common practice to do things to specific players is keeping an boolean array indicating if each person has the action enabled. You can set these values on console commands,or reading the player admin level on startup,or whatever means you want.
|
Re: Simple No Reload, A
Quote:
Code:
stock get_weapon_maxclip(weapon) |
Re: Simple No Reload, A
Bleh, discard this whloe thread, I have found my problem.
|
| All times are GMT -4. The time now is 05:37. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.