function onScriptLoad()
{
local pix = ReadIniInteger("pick.ini","id","nr");
local vy1 = 1;
while( vy1 < pix )
{
local vx1 = ReadIniString("pick.ini",vy1.tostring(),"x");
local vx2 = ReadIniString("pick.ini",vy1.tostring(),"y");
local vx3 = ReadIniString("pick.ini",vy1.tostring(),"z");
print("x -"+vx1+vx2+vx3);
CreatePickup( 407, Vector( vx1, vx2, vx3 ) );
vy1++;
}
}
ini :
[id]
nr = 5
[1]
x = 155.311
y = -1389.43
z = 10.432
[2]
x = 157.429
y = -1384.29
z = 10.432
[3]
x = 159.262
y = -1377.71
z = 10.432
[4]
x = 161.314
y = -1372.22
z = 10.432
Why doesn't it show the pickups on the map ? ? ?