Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-01-2003, 02:23 PM
protagonist protagonist is offline
Banned
protagonist's Avatar
Join Date: May 2003
Location: CAW
Posts: 5,586
protagonist is on a distinguished road
Send a message via AIM to protagonist Send a message via MSN to protagonist
Unhappy Ugh

Hi.

How do you return a value from a string array? I'm trying to create a hat trading system and I can't get the darned thing to scroll over hats that the people actually have, just hats 1,2,3 etc.

I tried using a bunch of different combinations using sarraylen and lindexof, but neither works for me in the way I was trying it.


For example, I want the client's 6th hat in the string array to appear over their head. I have everything working but the 6th hat turns out to be hat6.png. I want the value of the 6th number in the string array.
Reply With Quote
 


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 04:41 AM.


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