28.02.2010, 02:10
Just do this
Or get a object streamer.
pawn Код:
new Object[2];
public OnGameModeInit()
{
Object[0] = CreateObject(....);
Object[1] = CreateObject(....);
SetTimer("ReloadObjects", 10000, true);
//And so on
return 1;
}
forward ReloadObjects();
public ReloadObjects()
{
DestroyObject(Object[0]);
Object[0] = CreateObject(....);
DestroyObject(Object[0]);
Object[1] = CreateObject(....);
return 1;
}