AMX Mod X Stocks (Custom useful stocks)
Hello,
So I have been coding some private plugins, and I came up with a various set of custom stocks, so I moved them to an include file, and decided to share them, perhaps they can be useful for you and your own plugins! By including this file, you will not need to include amxmodx module in your plugin as we check it, and if it is not included, it will be automatically included. Code is available on GitHub @ https://github.com/Chilimax/AMX-Mod-...amx_stocks.inc I am seriously looking forward some ideas and suggestions to improve this code and make it much more useful :) |
Re: AMX Mod X Stocks (Custom useful stocks)
This is lame...
|
Re: AMX Mod X Stocks (Custom useful stocks)
Quote:
Code:
|
Re: AMX Mod X Stocks (Custom useful stocks)
How can this be helpful mate? What I meant by ideas is new features :P
|
Re: AMX Mod X Stocks (Custom useful stocks)
Quote:
But, just gathering bunches of code together without a proper documentation is not helpful. At least it is my preference, instead of get on that nightmare, I prefer start a clean notion one from zero. |
Re: AMX Mod X Stocks (Custom useful stocks)
I will add notes on each stock :)
|
Re: AMX Mod X Stocks (Custom useful stocks)
get_connected_target() makes no sense. What is it supposed to be doing?
|
Re: AMX Mod X Stocks (Custom useful stocks)
you can use it to choose a random connected player :)
get_connected_target( random_num( 1, 32 ) ) I see it pretty useful in plugins which choose a random player regardless if they were dead or alive e.g deathrun terrorist choosing :P |
Re: AMX Mod X Stocks (Custom useful stocks)
What about this?:
PHP Code:
PHP Code:
|
Re: AMX Mod X Stocks (Custom useful stocks)
Quote:
PHP Code:
|
All times are GMT -4. The time now is 01:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.