![]() |
Converting Attr[] to an array
I'm having this problem figuring out how to convert an attr[] into an array. I'm using the attr to drag accounts over from serverside to clientside on a level npc but i cant seem to turn it back into an array on clientside. Could anyone explain how to do this.
|
I remember having to help someone with something like this...
I believe it's like: temp.arr = {attr[x]}; Or maybe: temp.arr = {{attr[x]}}; Or maybe: temp.arr = (attr[x]); Mess around :) |
It was temp.aar = (attr[x]); thanks.
|
Oh cool... I've always been doing attr[x].tokenize(",")
Why does this happen, anyway? I thought Graal treated strings such as "a,b,c" as arrays? |
Quote:
|
| All times are GMT +2. The time now is 03:40 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.