Need help with a simple plugin
Hey, i got this plugin running on my Hide n Seek server.
Its a chance to get items at start of each round plugin ;) I got some extra health, scout, dgl. armor and shield added atm. Code:
#include <amxmodx> |
Re: Need help with a simple plugin
Yes
PHP Code:
Also, I would recommend getting the users health before you give them more health. Because, if they got the 100 extra health, there is a 4% chance to get the 50 extra health, resulting in them losing the 100 they gained already. |
Re: Need help with a simple plugin
Quote:
|
Re: Need help with a simple plugin
Code:
|
Re: Need help with a simple plugin
Quote:
PHP Code:
PHP Code:
Quote:
|
Re: Need help with a simple plugin
Okey, it seems to be working just great, thanks alot mate ;)
Just one thing, do you think it would be possible to not make players loose their extra health when they go on a block called "Healer" from the Blockmaker 3.51 plugin? If you've ever tested that one. |
Re: Need help with a simple plugin
You would have to add a check in the blockmaker code for the healer block taht prevents it from healing if the users health is 100 or larger
|
Re: Need help with a simple plugin
Could you maybe help me with that? :P
|
Re: Need help with a simple plugin
Or maybe someone else would be possible to help me? ^^
|
Re: Need help with a simple plugin
You are the one who is asking for help.
So, maybe you're the one who is supposed to provide any information / source code / whatever necessary? Actually, it looks like it is adding 1 line or so. |
| All times are GMT -4. The time now is 01:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.