Quote:
Originally Posted by wild8900
Hey the string wont show up in this script. Whats wrong with it?
Its supposed to return "Town Main" for now but instead I get nothing.
PHP Code:
maparray="Town Main","Cadoan","Melmond","Saronia Village","Shoreville","Snowbound Village";
showimg 498,@Tempus Sans ITC@#s(maparray[0]),playerx-0.1,playery-3;
|
Well 1.) Thats now how you define an array.
GS1:
PHP Code:
setarray maparray,{"Town Main","Cadoan","Melmond","Saronia Village","Shoreville","Snowbound Village"};
showimg 498,@Tempus Sans ITC@#s(#I(maparray,0)),playerx-0.1,playery-3;
or GS2:
PHP Code:
maparray = {"Town Main","Cadoan","Melmond","Saronia Village","Shoreville","Snowbound Village"};
showtext(498,player.x-0.1,player.y-3,Tempus Sans ITC,c,maparray[0]);