Help with WeaponChance
Hello!, How are you? I'm fine... I have a blockmaker and i would like create a WeaponChance block. This block, would select randomly a weapon and gives this from the player.
I hope you can help me. Thanks! Sorry for my bad english |
Re: Help with WeaponChance
Create and array with all weapon names and give_item() a random array cell.
|
Re: Help with WeaponChance
Can you tell me an example?
|
Re: Help with WeaponChance
PHP Code:
|
Re: Help with WeaponChance
Quote:
What you could do is this: Code:
|
Re: Help with WeaponChance
Quote:
|
Re: Help with WeaponChance
Thanks for all! Here one example of the block.
PHP Code:
|
Re: Help with WeaponChance
Grenades don't have ammo.
If you want to give more than 1, use BP ammo for the player. And I guess SpeeDeeR was right the first time. First time I've seen a weapon chance block like this. |
| All times are GMT -4. The time now is 03:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.