19.05.2012, 20:38
You can do a Vincent has shoed you above or you can place the Objects Directly into your GM.
Example:
If you chose this method I can help you further.
Example:
pawn Код:
new Map1[60];
new Map2[60];
OnGameModeInit()
{
Map1[0] = CreateObject(..);
Map1[1] = CreateObject(..);// Game Mode starter map.
return 1;
}
Command header here.
{
for(new i = 0; i < sizeof(Map2); i++)
{
Map2[i] = CreateObject(..);//creates the Map2 defined objects
}
return 1;
}
Command Header Here.
{
for(new i = 0; i < sizeof(Map2); i++)
{
DestroyObject(Map2[i]);//Destorys the Map2 defined objects
}
return 1;
}