Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-11-2007, 06:33 PM
Chandler Chandler is offline
Banned
Join Date: Jan 2007
Posts: 656
Chandler will become famous soon enough
hmm easier to do
HTML Code:
//Do the basic row thing stuff here

temp.itemAmount = getstringkeys("clientr.imgstore").size();
for (temp.currentItem: temp.itemAmount)
{
  addrow(w/e here, true);
}
Hope this helps!
Reply With Quote
  #2  
Old 05-11-2007, 06:37 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by Chandler View Post
HTML Code:
//Do the basic row thing stuff here

temp.itemAmount = getstringkeys("clientr.imgstore").size();
for (temp.currentItem: temp.itemAmount)
{
  addrow(w/e here, true);
}
Why do you do:

PHP Code:
for (temp.currentItemtemp.itemAmount)
{
  
addrow(w/e heretrue);

when this is the exact same thing?

PHP Code:
for (currentItemtemp.itemAmount)
{
  
addrow(w/e heretrue);

__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
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 +2. The time now is 10:08 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.