Complicated arrays (or at least i think so)
#2

Virtualworld is 0 by default, so

pawn Код:
new Float:CarParkFloor[10][3] = {
{2116.7153,2416.4597,10.8203},
{2116.7153,2416.4597,15.1172},
{2116.7153,2416.4597,19.4219},
{2116.7153,2416.4597,23.7188},
{2116.7153,2416.4597,28.0234},
{2116.7153,2416.4597,32.3203},
{2116.7153,2416.4597,36.6172},
{2116.7153,2416.4597,40.9219},
{2116.7153,2416.4597,45.2188},
{2116.7153,2416.4597,49.5234}
};
also change the 0 to i here

pawn Код:
for (new i=0; i<10; i++) {
    AddStaticPickup(1239, 23,
    CarParkFloor[i][0],
    CarParkFloor[i][1],
    CarParkFloor[i][2]);
  }
Reply


Messages In This Thread
Complicated arrays (or at least i think so) - by adsy - 12.02.2010, 20:07
Re: Complicated arrays (or at least i think so) - by MadeMan - 12.02.2010, 20:18
Re: Complicated arrays (or at least i think so) - by adsy - 12.02.2010, 20:20

Forum Jump:


Users browsing this thread: 1 Guest(s)