21.10.2011, 03:57
pawn Код:
new L[50]
forward destroyobj();
public OnGameModeInt()
{
L[0] = CreateDynamicObject(10983,233.08203125,439.94628906,-1.92500007,0.00000000,0.00000000,0.00000000);
L[1] = CreateDynamicObject(11541,163.09960938,518.28515625,16.41543579,0.00000000,0.00000000,0.00000000);
//... REST HERE
SetTimer("destroyobj", 120000, false);
}
public destroyobj()
{
for(new i=0; i<50; i++)
{
DestroyDynamicObject(L[i]);
}
return 1;
}
Do you have the "CreateDynamicObject"s under OnGameModeInt?
and How is the timer called?