Store Weapon Help
I need help with the menu.
I need him to save the previous weapons if someone could help me. PHP Code:
|
Re: Store Weapon Help
Use a global variable (an array, one cell for each player) to store the option that they chose. Then, the next time you need to know what they chose last time you have it in that variable. This method will work for single weapons.
If you only need two weapons then you can use two arrays. If you use more then something different would probably be better. |
Re: Store Weapon Help
I am beginner.
if you can send me some example. please |
Re: Store Weapon Help
PHP Code:
|
Re: Store Weapon Help
did not work
I did correctly? PHP Code:
|
Re: Store Weapon Help
|
Re: Store Weapon Help
Ok......
Full code /* Plugin generated by AMXX-Studio */ PHP Code:
then he wants the same option, select "Last weapons" and earn the same gun that he got earlier I do not quite understand your explanation. be able to help me again, I'll be very grateful sorry my bad english |
| All times are GMT -4. The time now is 11:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.