[HLEP] help in reload object
#9

Код:
new glass[200];
Код:
	glass[0] =	CreateObject(3851,356.079,2534.977,38.500,0.0,-89.954,0.0);
	glass[1] =	CreateObject(3851,360.076,2534.978,38.500,0.0,-89.954,0.0);
	glass[2] =	CreateObject(3851,364.054,2534.977,38.500,0.0,-89.954,0.0);
...
Код:
if (strcmp("/reload", cmdtext, true) == 0)
{
	for(new i=0;i<200;i++)
	{
		DestroyObject(glass[i]);
	}
	glass[0] =	CreateObject(3851,356.079,2534.977,38.500,0.0,-89.954,0.0);
	glass[1] =	CreateObject(3851,360.076,2534.978,38.500,0.0,-89.954,0.0);
	glass[2] =	CreateObject(3851,364.054,2534.977,38.500,0.0,-89.954,0.0);
	...
	return 1;
}
Reply


Messages In This Thread
[HLEP] help in reload object - by ::hardyboy - 17.12.2009, 18:44
Re: help in reload object - by ::hardyboy - 17.12.2009, 18:56
Re: [HLEP] help in reload object - by Gergo1352 - 17.12.2009, 19:31
Re: [HLEP] help in reload object - by ::hardyboy - 17.12.2009, 19:32
Re: [HLEP] help in reload object - by Prumpuz - 17.12.2009, 20:31
Re: [HLEP] help in reload object - by ::hardyboy - 17.12.2009, 20:32
Re: [HLEP] help in reload object - by Camacorn - 17.12.2009, 21:00
Re: [HLEP] help in reload object - by Retardedwolf - 17.12.2009, 21:03
Re: [HLEP] help in reload object - by GTAguillaume - 17.12.2009, 21:08
Re: [HLEP] help in reload object - by ::hardyboy - 17.12.2009, 21:08

Forum Jump:


Users browsing this thread: 5 Guest(s)