Vice City Multiplayer
		VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: scripter_pawn on November 27, 2011, 01:17:05 am
		
			
			- 
				
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 ? ? ?
			 
			
			- 
				the best shit is this
ReadIniString("pick.ini",vy1.toString(),"x");
try to convert to this
ReadIniInteger("pick.ini",vy1.toInteger(),"x");
ReadIniInteger("pick.ini",vy1.toInteger(),"y");
ReadIniInteger("pick.ini",vy1.toInteger(),"z);
			 
			
			- 
				still dont work
			
 
			
			- 
				How many functions does a squirrel do? Well just as many as any normal rodent, they eat, sleep, breath, exercise, piss, shit, all that usual stuff.
http://en.wikipedia.org/wiki/Squirrel