![]() |
lindexof in gs2?
Hello, does lindexof work in GS2? (or have a GS2 equivilent?)
Heres what i'm trying to do: NPC Code: This works: NPC Code: and so does this: NPC Code: is there a way to use lindexof using only gscript2? Thanks. |
I'm thinking:
HTML Code:
this.list.index(params[0]); |
thanks. Now i get it. Had the same problem with startswith() but it's string.starts :) I think i understand the new syntax more now :p
|
| All times are GMT +2. The time now is 10:04 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.