Changing maps without restarting server?
#5

You can do a Vincent has shoed you above or you can place the Objects Directly into your GM.

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;
}
If you chose this method I can help you further.
Reply


Messages In This Thread
Changing maps without restarting server? - by Elysian` - 19.05.2012, 19:29
Re: Changing maps without restarting server? - by liquor - 19.05.2012, 19:43
Re: Changing maps without restarting server? - by ReneG - 19.05.2012, 20:32
Re: Changing maps without restarting server? - by Elysian` - 19.05.2012, 20:36
Re: Changing maps without restarting server? - by IceCube! - 19.05.2012, 20:38
Re: Changing maps without restarting server? - by ReneG - 19.05.2012, 20:43

Forum Jump:


Users browsing this thread: 2 Guest(s)