Thread: Array problem
View Single Post
  #4  
Old 01-21-2007, 02:32 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Uh for GS1, setarray name,length; creates a blank array. Same in GS2 also.
And if you want to make array in GS1 you use setstring name,var0,var1,var2,var3,etc.;

Also your little bit of GS2 code is wrong.
PHP Code:
showtext(498,player.x-0.1,player.y-3,"Tempus Sans ITC","c",maparray[0]); 
That is correct.
__________________
Reply With Quote