![]() |
checking arrays.
Aloha, how would i check if a array is at it's max like if i specify the max of it and it reaches that and it does something how would i do it, and how would i show it in showimg?, thanks anyone who can help.
- Chicken AKA Howard |
To find out the size (what I presume you mean by 'maximum') of an array, use the arraylen(var) function. This will return the number of individual slots inside the array itself. So to do something when a variable reaches the length of your array:
NPC Code: |
yay
Thanks :) i appreciate that alot :), how would i show an array in a message or some if possible.
-Chicken AKA Howard |
well, you could use a loop
NPC Code: |
oo
ok kool thanks :), i got it now :).
|
All times are GMT +2. The time now is 09:17 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.