[help] zp 4.3 armor item limit per round
Hi, Somebody can help me with a limit per round, if some player buy 200 armor cant buy more on the round, have to wait for a new round.
PHP Code:
|
Re: [help] zp 4.3 armor item limit per round
Use bool. Set it to true when the player gets armor, and check if it's true in the next tries to get armor. And then you have to se the bool to false on new rouns event.
|
Re: [help] zp 4.3 armor item limit per round
Quote:
Eitherwise, may you give any links that can help me to learn to do it? |
Re: [help] zp 4.3 armor item limit per round
I recommend that you search a zombieplague plugin which has such a limit feature and look how it is done there. Thats generally a good way to lern btw.
|
Re: [help] zp 4.3 armor item limit per round
Quote:
|
Re: [help] zp 4.3 armor item limit per round
PHP Code:
|
Re: [help] zp 4.3 armor item limit per round
Wont the player loose money or ammo packs too when he doesnt get armor? I might be wrong sice I am not familiar with zombie plague...
|
Re: [help] zp 4.3 armor item limit per round
Quote:
|
Re: [help] zp 4.3 armor item limit per round
When i buy armor item i cant buy in the next rounds, i only want a limit of armor per round
Example: If i buy 200 armor and the Zombie attack me if i try to buy more armor i cant that's i want |
Re: [help] zp 4.3 armor item limit per round
Just try below:
PHP Code:
|
| All times are GMT -4. The time now is 21:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.