View Single Post
  #1  
Old 01-04-2006, 06:29 PM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
lindexof in gs2?

Hello, does lindexof work in GS2? (or have a GS2 equivilent?)

Heres what i'm trying to do:

NPC Code:

this.index = lindexof(params[0],this.list);



This works:
NPC Code:

this.index = lindexof(#v(params[0]),this.list);



and so does this:

NPC Code:

this.index = lindexof(#p(0),this.list);



is there a way to use lindexof using only gscript2?

Thanks.
Reply With Quote