Deo skripte:
CMD:aport( playerid, params[] ) {
if( PlayerInfo[ playerid ][ xAdmin ] >= 1 || PlayerInfo[ playerid ][ xTestAdmin ] != 0) {
if( !AdminDuty ) return GRESKA( playerid, "Morate biti na duznosti!" );
if( PlayerInfo[ playerid ] != 0 || PlayerInfo[ playerid ][ xTestAdmin ] != 0) {
if( UzeoOpremu == true ) return GRESKA( playerid, "Ne mozes koristi ovu komandu dok radis posao ili imas opremu posla." );
}
strdel( DialogStrgEx, 0, sizeof( DialogStrgEx ) );
for( new i = 0; i < MAX_APORTS; i++ ) {
if( aportInfo[ i ][ aportCreated ] == 1 ) {
format( DialogStrgEx, sizeof( DialogStrgEx ), "%s%s\n", DialogStrgEx, aportInfo[ i ][ aportName ] );
}
}
SPD( playerid, dialog_SELECTAPORT, DSL, D_NASLOV, DialogStrgEx, D_ODABERI, D_ODUSTANI );
}
else return GRESKA( playerid, "Niste u mogucnosti koristiti ovu komandu." );
return true;
}Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
/Slika/video ingame problema(obavezno ako je ingame problem): https://imgur.com/a/VkdLsRl
