Location: JBPLAY \ Meteor 2 \ Help and Guidance \ Static flag math Back to Threads |
nyasudah![]()
Joined: 06 February 2005 Posts: 832 |
01 December 2007 07:51 (UK time)
using a variable maybe help for example: x=1; staticflags[2]=x; //staticflags[2] is now 1 x=x+1; staticflags[2]=x; //staticflags[2] is now 2
Edited: 01 December 2007 07:52 You need to login to create posts in this thread. |
mike323
Posts: 745 |
01 December 2007 18:28 (UK time)
StaticFlags[2]++; ++ increments a variable by 1. To increment things by more, use: StaticFlags[2] += 2; ^^ Increments by 2. You need to login to create posts in this thread. |
Dthdealer
![]() Joined: 10 March 2007 Posts: 476 |
02 December 2007 02:33 (UK time)
Sorry, it does work. I had the wrong script that requests its value.
You need to login to create posts in this thread. |
|
Forums system (C) 1999-2023 by James Bunting.
Terms of Use