Dio skripte:
CreateMapIcons( ) {
for( new i = 1;i < MAX_BUSSINES; i++ ) {
if( BusinessInfo[ i ][ bType ] == VRSTA_BINCO || BusinessInfo[ i ][ bType ] == VRSTA_SUBURBAN || BusinessInfo[ i ][ bType ] == VRSTA_ZIP || BusinessInfo[ i ][ bType ] == VRSTA_VICTIM ) {
CreateDynamicMapIcon( BusinessInfo[ i ][ bEnterX ], BusinessInfo[ i ][ bEnterY ], BusinessInfo[ i ][ bEnterZ ], 45, BELA, -1, -1, -1, 300.0 );
}
if( BusinessInfo[ i ][ bType ] == VRSTA_BURG ) {
CreateDynamicMapIcon( BusinessInfo[ i ][ bEnterX ], BusinessInfo[ i ][ bEnterY ], BusinessInfo[ i ][ bEnterZ ], 10, BELA, -1, -1, -1, 300.0);
}
if( BusinessInfo[ i ][ bType ] == VRSTA_CLUCK ) {
CreateDynamicMapIcon( BusinessInfo[ i ][ bEnterX ], BusinessInfo[ i ][ bEnterY ], BusinessInfo[ i ][ bEnterZ ], 14, BELA, -1, -1, -1, 300.0);
}
if( BusinessInfo[ i ][ bType ] == VRSTA_PIZZA ) {
CreateDynamicMapIcon( BusinessInfo[ i ][ bEnterX ], BusinessInfo[ i ][ bEnterY ], BusinessInfo[ i ][ bEnterZ ], 29, BELA, -1, -1, -1, 300.0);
}
if( BusinessInfo[ i ][ bType ] == VRSTA_GYM ) {
CreateDynamicMapIcon( BusinessInfo[ i ][ bEnterX ], BusinessInfo[ i ][ bEnterY ], BusinessInfo[ i ][ bEnterZ ], 54, BELA, -1, -1, -1, 300.0);
}
if( BusinessInfo[ i ][ bType ] == VRSTA_GUNSHOP ) {
CreateDynamicMapIcon( BusinessInfo[ i ][ bEnterX ], BusinessInfo[ i ][ bEnterY ], BusinessInfo[ i ][ bEnterZ ], 6, BELA, -1, -1, -1, 300.0);
}
if( BusinessInfo[ i ][ bType ] == VRSTA_BAR ) {
CreateDynamicMapIcon( BusinessInfo[ i ][ bEnterX ], BusinessInfo[ i ][ bEnterY ], BusinessInfo[ i ][ bEnterZ ], 49, BELA, -1, -1, -1, 300.0);
}
if( BusinessInfo[ i ][ bType ] == VRSTA_RESTORAN ) {
CreateDynamicMapIcon( BusinessInfo[ i ][ bEnterX ], BusinessInfo[ i ][ bEnterY ], BusinessInfo[ i ][ bEnterZ ], 50, BELA, -1, -1, -1, 300.0);
}
if( BusinessInfo[ i ][ bType ] == VRSTA_NKLUB || BusinessInfo[ i ][ bType ] == VRSTA_DISCO ) {
CreateDynamicMapIcon( BusinessInfo[ i ][ bEnterX ], BusinessInfo[ i ][ bEnterY ], BusinessInfo[ i ][ bEnterZ ], 48, BELA, -1, -1, -1, 300.0);
}
if( BusinessInfo[ i ][ bType ] == VRSTA_MARKET ) {
CreateDynamicMapIcon( BusinessInfo[ i ][ bEnterX ], BusinessInfo[ i ][ bEnterY ], BusinessInfo[ i ][ bEnterZ ], 36, BELA, -1, -1, -1, 300.0);
}
if( BusinessInfo[ i ][ bType ] == VRSTA_ELEKTRONIK ) {
CreateDynamicMapIcon( BusinessInfo[ i ][ bEnterX ], BusinessInfo[ i ][ bEnterY ], BusinessInfo[ i ][ bEnterZ ], 23, BELA, -1, -1, -1, 300.0);
}
if( BusinessInfo[ i ][ bType ] == VRSTA_TRAFIKA ) {
CreateDynamicMapIcon( BusinessInfo[ i ][ bEnterX ], BusinessInfo[ i ][ bEnterY ], BusinessInfo[ i ][ bEnterZ ], 42, BELA, -1, -1, -1, 300.0);
}
}Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
//Slika/video ingame problema(obavezno ako je ingame problem): //
