Raised This Month: $ Target: $400
 0% 

Store Weapon Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-19-2011 , 19:22   Re: Store Weapon Help
Reply With Quote #2

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.
__________________

Last edited by fysiks; 12-19-2011 at 19:24.
fysiks is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:46.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode