Raised This Month: $ Target: $400
 0% 

How to remember value?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
red_bull2oo6
Senior Member
Join Date: Mar 2012
Location: Braila, Romania
Old 08-07-2013 , 18:34   Re: How to remember value?
Reply With Quote #1

Quote:
Originally Posted by LordOfNothing View Post
nvault
don't post such stupid answers.. he wants to only know it in that function.. not to load/save it.

@randomize: you should clear a bit your code.. and then you will figure it out.
you could also use something like:

Code:
new iKills[ 9 ]; // this is global one

if( !iKills[ 0 ] )
    iKills[ 0 ] = karga;
    
for( new i = 8; i >1; i-- )
    iKills[ i ] = iKills[ i -1 ];

Last edited by red_bull2oo6; 08-08-2013 at 06:25.
red_bull2oo6 is offline
Reply



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 15:57.


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