Crash on mapped area
#4

Crash report | /object
100 objects doesn't crash
In this example there are 200 objects with same modelid, if you create random modelid, crash will not exist
Код:
#include <a_samp>
main(){}
public OnPlayerSpawn(playerid) SetPlayerPos(playerid,2464.4021,3256.3306,5.9844);
public OnGameModeInit() AddPlayerClass(1,488.1703,-14.2043,1000.6797,17.7887,-1,-1,-1,-1,-1,-1);
public OnPlayerRequestClass(playerid,classid)
{
	SetSpawnInfo(playerid,255,1,2464.4021,3256.3306,5.9844,1.0,-1,-1,-1,-1,-1,-1);
	SpawnPlayer(playerid);

	return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
	if(strcmp(cmdtext,"/object")==0)
	{
		for(new i=0;i<200;i++)
		CreatePlayerObject(playerid,8357, 2616.6+random(100),2929.53+random(100),5, 0.00,0.00,90.00, 0);
		return 1;
	}
	return 0;
}
Reply


Messages In This Thread
Crash on mapped area - by Dredd - 20.01.2013, 18:08
Re: Crash on mapped area - by ][Noname][ - 21.01.2013, 04:44
Re: Crash on mapped area - by Dredd - 21.01.2013, 05:02
Re: Crash on mapped area - by ][Noname][ - 21.01.2013, 05:17
Re: Crash on mapped area - by Dredd - 21.01.2013, 16:16

Forum Jump:


Users browsing this thread: 1 Guest(s)