19.02.2012, 10:32
Maybe... :
pawn Code:
public DM_OnGameModeInit( )
{
print("Called");
for( new slots = MAX_ZONES, i; i < slots; i++ ) dmInfo[ i ][ ZoneID ]=-1;
for( new slots = GetMaxPlayers( ), i; i < slots; i++ ) pDMinfo[ i ][ 0 ]=-1;
//The creating of the DM zones
CreateDMZone("World War 2 DM","USA","Germany",-971.3320,1020.9902,1345.0673, -1135.7421,1095.4961,1345.8173, 10, 0, 24, 25, 30);
return 1;
}
#if defined _ALS_OnGameModeInit
#undef OnGameModeInit
#else
#define _ALS_OnGameModeInit
#endif
#define OnGameModeInit DM_OnGameModeInit
forward DM_OnGameModeInit( );