[Help] Spread Objects Evenly (Math...)
#2

Kinda solved it. (Just need to expand all over the map.)

Код:
stock SpawnObjects()
{
	SendRconCommand("password 854agd15");
	new Float:x,Float:y;
	for(new i=-60; i<60;i++)
	{
	    x=i*60;
	    for(new b=-60; b<60;b++)
	    {
	        y=b*60;
	        new Float:zpos;
	        printf("doing %d",b);
    		GetPointZPos(x,y,zpos);
	        CreateDynamicObject(3279,x,y,zpos,0,0,0);
	        
	    }
	}
	print("DONE");
	SendRconCommand("password 0");
	return 1;
}
Reply


Messages In This Thread
[Help] Spread Objects Evenly (Math...) - by BloodMaster - 01.07.2013, 16:32
Re: [Help] Spread Objects Evenly (Math...) - by BloodMaster - 01.07.2013, 16:58
Re: [Help] Spread Objects Evenly (Math...) - by Vince - 01.07.2013, 17:23
Re: [Help] Spread Objects Evenly (Math...) - by BloodMaster - 01.07.2013, 18:04

Forum Jump:


Users browsing this thread: 1 Guest(s)