23.10.2016, 07:02
PHP код:
SCMF(playerid, colour, format[], va_args<>)
{
new out[384];
va_format(out, sizeof (out), format, va_start<3>);
SCM(playerid, colour, out);
return 1;
}
Global string is used here
PHP код:
CMD:server(playerid, params[])
{
new adminCmdsList[1080];
strdel(adminCmdsList, 0, sizeof(adminCmdsList));
format(globalstring, sizeof(globalstring), "\n"SERVERPLAVA"Ukupno posjeta: %d\n", ServerS[sVisits]);
strcat(adminCmdsList, globalstring);
format(globalstring, sizeof(globalstring), ""SERVERPLAVA"Ukupno logina: %d\n", ServerS[sLogins]);
strcat(adminCmdsList, globalstring);
format(globalstring, sizeof(globalstring), ""SERVERPLAVA"Registrovanih accounta: %d\n", ServerS[sUsers]);
strcat(adminCmdsList, globalstring);
format(globalstring, sizeof(globalstring), ""SERVERPLAVA"Banovanih igraca: %d\n", ServerS[sBans]);
strcat(adminCmdsList, globalstring);
format(globalstring, sizeof(globalstring), ""SERVERPLAVA"Odbanovanih igraca: %d\n", ServerS[sUnbans]);
strcat(adminCmdsList, globalstring);
format(globalstring, sizeof(globalstring), ""SERVERPLAVA"Kikovanih igraca: %d\n", ServerS[sKicks]);
strcat(adminCmdsList, globalstring);
format(globalstring, sizeof(globalstring), ""SERVERPLAVA"Upozorenih igraca: %d\n", ServerS[sWarns]);
strcat(adminCmdsList, globalstring);
format(globalstring, sizeof(globalstring), ""SERVERPLAVA"Name-ovanih igraca: %d\n", ServerS[sNames]);
strcat(adminCmdsList, globalstring);
format(globalstring, sizeof(globalstring), ""SERVERPLAVA"Pokrenuto eventa: %d\n", ServerS[sEvents]);
strcat(adminCmdsList, globalstring);
format(globalstring, sizeof(globalstring), ""SERVERPLAVA"Ukupno chrasheva: %d\n", ServerS[sCrashes]);
strcat(adminCmdsList, globalstring);
format(globalstring, sizeof(globalstring), ""SERVERPLAVA"Ukupno smrti: %d\n", ServerS[sDeaths]);
strcat(adminCmdsList, globalstring);
format(globalstring, sizeof(globalstring), ""SERVERPLAVA"Unistenih vozila: %d\n", ServerS[sCarsDestroyed]);
strcat(adminCmdsList, globalstring);
format(globalstring, sizeof(globalstring), ""SERVERPLAVA"Ukupno payday-ova: %d\n", ServerS[sPayDays]);
strcat(adminCmdsList, globalstring);
format(globalstring, sizeof(globalstring), ""SERVERPLAVA"Ukupno restarta: %d\n\n", ServerS[sRestarts]);
strcat(adminCmdsList, globalstring);
SPD(playerid, 6666, DIALOG_STYLE_MSGBOX, ""SERVERPLAVA"Server statistika\n", adminCmdsList, "Uredu", "");
return 1;
}
CMD:sviclanovi(playerid, params[])
{
if(PlayerInfo[playerid][pLider] == 0) return GRESKA(playerid,"Samo Lideri!");
if(PlayerInfo[playerid][pLider] == 1)
{
SCM(playerid, -1, "{FFFF80}________________| Los Santos Police Department |________________");
format(globalstring, sizeof globalstring, "Lider 1: %s | Lider 2: %s", LSPDInfo[1][lspdLider], LSPDInfo[2][lspdLider]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "1: %s | 2: %s | 3: %s | 4: %s | 5: %s",
LSPDInfo[1][lspdMjesto], LSPDInfo[2][lspdMjesto], LSPDInfo[3][lspdMjesto], LSPDInfo[4][lspdMjesto], LSPDInfo[5][lspdMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "6: %s | 7: %s | 8: %s | 9: %s | 10: %s",
LSPDInfo[6][lspdMjesto], LSPDInfo[7][lspdMjesto], LSPDInfo[8][lspdMjesto], LSPDInfo[9][lspdMjesto], LSPDInfo[10][lspdMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "11: %s | 12: %s | 13: %s | 14: %s | 15: %s",
LSPDInfo[11][lspdMjesto], LSPDInfo[12][lspdMjesto], LSPDInfo[13][lspdMjesto], LSPDInfo[14][lspdMjesto], LSPDInfo[15][lspdMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "16: %s | 17: %s | 18: %s | 19: %s | 20: %s",
LSPDInfo[16][lspdMjesto], LSPDInfo[17][lspdMjesto], LSPDInfo[18][lspdMjesto], LSPDInfo[19][lspdMjesto], LSPDInfo[20][lspdMjesto]);
SCM(playerid, -1, globalstring);
}
else if(PlayerInfo[playerid][pLider] == 3)
{
SCM(playerid, -1, "{FFFF80}________________| Yakuza |________________");
format(globalstring, sizeof globalstring, "Lider 1: %s | Lider 2: %s", YInfo[1][yakuzaLider], YInfo[2][yakuzaLider]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "1: %s | 2: %s | 3: %s | 4: %s | 5: %s",
YInfo[1][yakuzaMjesto], YInfo[2][yakuzaMjesto], YInfo[3][yakuzaMjesto], YInfo[4][yakuzaMjesto], YInfo[5][yakuzaMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "6: %s | 7: %s | 8: %s | 9: %s | 10: %s",
YInfo[6][yakuzaMjesto], YInfo[7][yakuzaMjesto], YInfo[8][yakuzaMjesto], YInfo[9][yakuzaMjesto], YInfo[10][yakuzaMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "11: %s | 12: %s | 13: %s | 14: %s | 15: %s",
YInfo[11][yakuzaMjesto], YInfo[12][yakuzaMjesto], YInfo[13][yakuzaMjesto], YInfo[14][yakuzaMjesto], YInfo[15][yakuzaMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "16: %s | 17: %s | 18: %s | 19: %s | 20: %s",
YInfo[16][yakuzaMjesto], YInfo[17][yakuzaMjesto], YInfo[18][yakuzaMjesto], YInfo[19][yakuzaMjesto], YInfo[20][yakuzaMjesto]);
SCM(playerid, -1, globalstring);
}
else if(PlayerInfo[playerid][pLider] == 4)
{
SCM(playerid, -1, "{FFFF80}________________| Grove Street Family |________________");
format(globalstring, sizeof globalstring, "Lider 1: %s | Lider 2: %s", GSFInfo[1][gsfLider], GSFInfo[2][gsfLider]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "1: %s | 2: %s | 3: %s | 4: %s | 5: %s",
GSFInfo[1][gsfMjesto], GSFInfo[2][gsfMjesto], GSFInfo[3][gsfMjesto], GSFInfo[4][gsfMjesto], GSFInfo[5][gsfMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "6: %s | 7: %s | 8: %s | 9: %s | 10: %s",
GSFInfo[6][gsfMjesto], GSFInfo[7][gsfMjesto], GSFInfo[8][gsfMjesto], GSFInfo[9][gsfMjesto], GSFInfo[10][gsfMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "11: %s | 12: %s | 13: %s | 14: %s | 15: %s",
GSFInfo[11][gsfMjesto], GSFInfo[12][gsfMjesto], GSFInfo[13][gsfMjesto], GSFInfo[14][gsfMjesto], GSFInfo[15][gsfMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "16: %s | 17: %s | 18: %s | 19: %s | 20: %s",
GSFInfo[16][gsfMjesto], GSFInfo[17][gsfMjesto], GSFInfo[18][gsfMjesto], GSFInfo[19][gsfMjesto], GSFInfo[20][gsfMjesto]);
SCM(playerid, -1, globalstring);
}
else if(PlayerInfo[playerid][pLider] == 5)
{
SCM(playerid, -1, "{FFFF80}________________| Ballas Family |________________");
format(globalstring, sizeof globalstring, "Lider 1: %s | Lider 2: %s", BInfo[1][bsLider], BInfo[2][bsLider]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "1: %s | 2: %s | 3: %s | 4: %s | 5: %s",
BInfo[1][bsMjesto], BInfo[2][bsMjesto], BInfo[3][bsMjesto], BInfo[4][bsMjesto], BInfo[5][bsMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "6: %s | 7: %s | 8: %s | 9: %s | 10: %s",
BInfo[6][bsMjesto], BInfo[7][bsMjesto], BInfo[8][bsMjesto], BInfo[9][bsMjesto], BInfo[10][bsMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "11: %s | 12: %s | 13: %s | 14: %s | 15: %s",
BInfo[11][bsMjesto], BInfo[12][bsMjesto], BInfo[13][bsMjesto], BInfo[14][bsMjesto], BInfo[15][bsMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "16: %s | 17: %s | 18: %s | 19: %s | 20: %s",
BInfo[16][bsMjesto], BInfo[17][bsMjesto], BInfo[18][bsMjesto], BInfo[19][bsMjesto], BInfo[20][bsMjesto]);
SCM(playerid, -1, globalstring);
}
else if(PlayerInfo[playerid][pLider] == 6)
{
SCM(playerid, -1, "{FFFF80}________________| Los Santos Novinari |________________");
format(globalstring, sizeof globalstring, "Lider 1: %s | Lider 2: %s", NInfo[1][nLider], NInfo[2][nLider]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "1: %s | 2: %s | 3: %s | 4: %s | 5: %s",
NInfo[1][nMjesto], NInfo[2][nMjesto], NInfo[3][nMjesto], NInfo[4][nMjesto], NInfo[5][nMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "6: %s | 7: %s | 8: %s | 9: %s | 10: %s",
NInfo[6][nMjesto], NInfo[7][nMjesto], NInfo[8][nMjesto], NInfo[9][nMjesto], NInfo[10][nMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "11: %s | 12: %s | 13: %s | 14: %s | 15: %s",
NInfo[11][nMjesto], NInfo[12][nMjesto], NInfo[13][nMjesto], NInfo[14][nMjesto], NInfo[15][nMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "16: %s | 17: %s | 18: %s | 19: %s | 20: %s",
NInfo[16][nMjesto], NInfo[17][nMjesto], NInfo[18][nMjesto], NInfo[19][nMjesto], NInfo[20][nMjesto]);
SCM(playerid, -1, globalstring);
}
else if(PlayerInfo[playerid][pLider] == 9)
{
SCM(playerid, -1, "{FFFF80}________________| La Cocaina |________________");
format(globalstring, sizeof globalstring, "Lider 1: %s | Lider 2: %s", LCInfo[1][lcLider], LCInfo[2][lcLider]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "1: %s | 2: %s | 3: %s | 4: %s | 5: %s",
LCInfo[1][lcMjesto], LCInfo[2][lcMjesto], LCInfo[3][lcMjesto], LCInfo[4][lcMjesto], LCInfo[5][lcMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "6: %s | 7: %s | 8: %s | 9: %s | 10: %s",
LCInfo[6][lcMjesto], LCInfo[7][lcMjesto], LCInfo[8][lcMjesto], LCInfo[9][lcMjesto], LCInfo[10][lcMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "11: %s | 12: %s | 13: %s | 14: %s | 15: %s",
LCInfo[11][lcMjesto], LCInfo[12][lcMjesto], LCInfo[13][lcMjesto], LCInfo[14][lcMjesto], LCInfo[15][lcMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "16: %s | 17: %s | 18: %s | 19: %s | 20: %s",
LCInfo[16][lcMjesto], LCInfo[17][lcMjesto], LCInfo[18][lcMjesto], LCInfo[19][lcMjesto], LCInfo[20][lcMjesto]);
SCM(playerid, -1, globalstring);
}
else if(PlayerInfo[playerid][pLider] == 11)
{
SCM(playerid, -1, "{FFFF80}________________| La Cosa Nostra |________________");
format(globalstring, sizeof globalstring, "Lider 1: %s | Lider 2: %s", LCNInfo[1][lcnLider], LCNInfo[2][lcnLider]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "1: %s | 2: %s | 3: %s | 4: %s | 5: %s",
LCNInfo[1][lcnMjesto], LCNInfo[2][lcnMjesto], LCNInfo[3][lcnMjesto], LCNInfo[4][lcnMjesto], LCNInfo[5][lcnMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "6: %s | 7: %s | 8: %s | 9: %s | 10: %s",
LCNInfo[6][lcnMjesto], LCNInfo[7][lcnMjesto], LCNInfo[8][lcnMjesto], LCNInfo[9][lcnMjesto], LCNInfo[10][lcnMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "11: %s | 12: %s | 13: %s | 14: %s | 15: %s",
LCNInfo[11][lcnMjesto], LCNInfo[12][lcnMjesto], LCNInfo[13][lcnMjesto], LCNInfo[14][lcnMjesto], LCNInfo[15][lcnMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "16: %s | 17: %s | 18: %s | 19: %s | 20: %s",
LCNInfo[16][lcnMjesto], LCNInfo[17][lcnMjesto], LCNInfo[18][lcnMjesto], LCNInfo[19][lcnMjesto], LCNInfo[20][lcnMjesto]);
SCM(playerid, -1, globalstring);
}
else if(PlayerInfo[playerid][pLider] == 16)
{
SCM(playerid, -1, "{FFFF80}________________| Hitman Agency |________________");
format(globalstring, sizeof globalstring, "Lider 1: %s | Lider 2: %s", HAInfo[1][haLider], HAInfo[2][haLider]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "1: %s | 2: %s | 3: %s | 4: %s | 5: %s",
HAInfo[1][haMjesto], HAInfo[2][haMjesto], HAInfo[3][haMjesto], HAInfo[4][haMjesto], HAInfo[5][haMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "6: %s | 7: %s | 8: %s | 9: %s | 10: %s",
HAInfo[6][haMjesto], HAInfo[7][haMjesto], HAInfo[8][haMjesto], HAInfo[9][haMjesto], HAInfo[10][haMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "11: %s | 12: %s | 13: %s | 14: %s | 15: %s",
HAInfo[11][haMjesto], HAInfo[12][haMjesto], HAInfo[13][haMjesto], HAInfo[14][haMjesto], HAInfo[15][haMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "16: %s | 17: %s | 18: %s | 19: %s | 20: %s",
HAInfo[16][haMjesto], HAInfo[17][haMjesto], HAInfo[18][haMjesto], HAInfo[19][haMjesto], HAInfo[20][haMjesto]);
SCM(playerid, -1, globalstring);
}
return 1;
}
///////////////////////////////////////////////////////
CMD:izbaci(playerid, params[])
{
if(PlayerInfo[playerid][pLider] == 0) return GRESKA(playerid,"Samo Lideri!");
new broj;
if(sscanf(params, "i", broj))
{
if(PlayerInfo[playerid][pLider] == 1)
{
SCM(playerid, -1, "{FFFF80}________________| Los Santos Police Department |________________");
format(globalstring, sizeof globalstring, "Lider 1: %s | Lider 2: %s", LSPDInfo[1][lspdLider], LSPDInfo[2][lspdLider]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "1: %s | 2: %s | 3: %s | 4: %s | 5: %s",
LSPDInfo[1][lspdMjesto], LSPDInfo[2][lspdMjesto], LSPDInfo[3][lspdMjesto], LSPDInfo[4][lspdMjesto], LSPDInfo[5][lspdMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "6: %s | 7: %s | 8: %s | 9: %s | 10: %s",
LSPDInfo[6][lspdMjesto], LSPDInfo[7][lspdMjesto], LSPDInfo[8][lspdMjesto], LSPDInfo[9][lspdMjesto], LSPDInfo[10][lspdMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "11: %s | 12: %s | 13: %s | 14: %s | 15: %s",
LSPDInfo[11][lspdMjesto], LSPDInfo[12][lspdMjesto], LSPDInfo[13][lspdMjesto], LSPDInfo[14][lspdMjesto], LSPDInfo[15][lspdMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "16: %s | 17: %s | 18: %s | 19: %s | 20: %s",
LSPDInfo[16][lspdMjesto], LSPDInfo[17][lspdMjesto], LSPDInfo[18][lspdMjesto], LSPDInfo[19][lspdMjesto], LSPDInfo[20][lspdMjesto]);
SCM(playerid, -1, globalstring);
}
else if(PlayerInfo[playerid][pLider] == 3)
{
SCM(playerid, -1, "{FFFF80}________________| Yakuza |________________");
format(globalstring, sizeof globalstring, "Lider 1: %s | Lider 2: %s", YInfo[1][yakuzaLider], YInfo[2][yakuzaLider]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "1: %s | 2: %s | 3: %s | 4: %s | 5: %s",
YInfo[1][yakuzaMjesto], YInfo[2][yakuzaMjesto], YInfo[3][yakuzaMjesto], YInfo[4][yakuzaMjesto], YInfo[5][yakuzaMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "6: %s | 7: %s | 8: %s | 9: %s | 10: %s",
YInfo[6][yakuzaMjesto], YInfo[7][yakuzaMjesto], YInfo[8][yakuzaMjesto], YInfo[9][yakuzaMjesto], YInfo[10][yakuzaMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "11: %s | 12: %s | 13: %s | 14: %s | 15: %s",
YInfo[11][yakuzaMjesto], YInfo[12][yakuzaMjesto], YInfo[13][yakuzaMjesto], YInfo[14][yakuzaMjesto], YInfo[15][yakuzaMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "16: %s | 17: %s | 18: %s | 19: %s | 20: %s",
YInfo[16][yakuzaMjesto], YInfo[17][yakuzaMjesto], YInfo[18][yakuzaMjesto], YInfo[19][yakuzaMjesto], YInfo[20][yakuzaMjesto]);
SCM(playerid, -1, globalstring);
}
else if(PlayerInfo[playerid][pLider] == 4)
{
SCM(playerid, -1, "{FFFF80}________________| Grove Street Family |________________");
format(globalstring, sizeof globalstring, "Lider 1: %s | Lider 2: %s", GSFInfo[1][gsfLider], GSFInfo[2][gsfLider]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "1: %s | 2: %s | 3: %s | 4: %s | 5: %s",
GSFInfo[1][gsfMjesto], GSFInfo[2][gsfMjesto], GSFInfo[3][gsfMjesto], GSFInfo[4][gsfMjesto], GSFInfo[5][gsfMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "6: %s | 7: %s | 8: %s | 9: %s | 10: %s",
GSFInfo[6][gsfMjesto], GSFInfo[7][gsfMjesto], GSFInfo[8][gsfMjesto], GSFInfo[9][gsfMjesto], GSFInfo[10][gsfMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "11: %s | 12: %s | 13: %s | 14: %s | 15: %s",
GSFInfo[11][gsfMjesto], GSFInfo[12][gsfMjesto], GSFInfo[13][gsfMjesto], GSFInfo[14][gsfMjesto], GSFInfo[15][gsfMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "16: %s | 17: %s | 18: %s | 19: %s | 20: %s",
GSFInfo[16][gsfMjesto], GSFInfo[17][gsfMjesto], GSFInfo[18][gsfMjesto], GSFInfo[19][gsfMjesto], GSFInfo[20][gsfMjesto]);
SCM(playerid, -1, globalstring);
}
else if(PlayerInfo[playerid][pLider] == 5)
{
SCM(playerid, -1, "{FFFF80}________________| Ballas Family |________________");
format(globalstring, sizeof globalstring, "Lider 1: %s | Lider 2: %s", BInfo[1][bsLider], BInfo[2][bsLider]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "1: %s | 2: %s | 3: %s | 4: %s | 5: %s",
BInfo[1][bsMjesto], BInfo[2][bsMjesto], BInfo[3][bsMjesto], BInfo[4][bsMjesto], BInfo[5][bsMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "6: %s | 7: %s | 8: %s | 9: %s | 10: %s",
BInfo[6][bsMjesto], BInfo[7][bsMjesto], BInfo[8][bsMjesto], BInfo[9][bsMjesto], BInfo[10][bsMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "11: %s | 12: %s | 13: %s | 14: %s | 15: %s",
BInfo[11][bsMjesto], BInfo[12][bsMjesto], BInfo[13][bsMjesto], BInfo[14][bsMjesto], BInfo[15][bsMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "16: %s | 17: %s | 18: %s | 19: %s | 20: %s",
BInfo[16][bsMjesto], BInfo[17][bsMjesto], BInfo[18][bsMjesto], BInfo[19][bsMjesto], BInfo[20][bsMjesto]);
SCM(playerid, -1, globalstring);
}
else if(PlayerInfo[playerid][pLider] == 6)
{
SCM(playerid, -1, "{FFFF80}________________| Los Santos Novinari |________________");
format(globalstring, sizeof globalstring, "Lider 1: %s | Lider 2: %s", NInfo[1][nLider], NInfo[2][nLider]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "1: %s | 2: %s | 3: %s | 4: %s | 5: %s",
NInfo[1][nMjesto], NInfo[2][nMjesto], NInfo[3][nMjesto], NInfo[4][nMjesto], NInfo[5][nMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "6: %s | 7: %s | 8: %s | 9: %s | 10: %s",
NInfo[6][nMjesto], NInfo[7][nMjesto], NInfo[8][nMjesto], NInfo[9][nMjesto], NInfo[10][nMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "11: %s | 12: %s | 13: %s | 14: %s | 15: %s",
NInfo[11][nMjesto], NInfo[12][nMjesto], NInfo[13][nMjesto], NInfo[14][nMjesto], NInfo[15][nMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "16: %s | 17: %s | 18: %s | 19: %s | 20: %s",
NInfo[16][nMjesto], NInfo[17][nMjesto], NInfo[18][nMjesto], NInfo[19][nMjesto], NInfo[20][nMjesto]);
SCM(playerid, -1, globalstring);
}
else if(PlayerInfo[playerid][pLider] == 9)
{
SCM(playerid, -1, "{FFFF80}________________| La Cocaina |________________");
format(globalstring, sizeof globalstring, "Lider 1: %s | Lider 2: %s", LCInfo[1][lcLider], LCInfo[2][lcLider]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "1: %s | 2: %s | 3: %s | 4: %s | 5: %s",
LCInfo[1][lcMjesto], LCInfo[2][lcMjesto], LCInfo[3][lcMjesto], LCInfo[4][lcMjesto], LCInfo[5][lcMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "6: %s | 7: %s | 8: %s | 9: %s | 10: %s",
LCInfo[6][lcMjesto], LCInfo[7][lcMjesto], LCInfo[8][lcMjesto], LCInfo[9][lcMjesto], LCInfo[10][lcMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "11: %s | 12: %s | 13: %s | 14: %s | 15: %s",
LCInfo[11][lcMjesto], LCInfo[12][lcMjesto], LCInfo[13][lcMjesto], LCInfo[14][lcMjesto], LCInfo[15][lcMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "16: %s | 17: %s | 18: %s | 19: %s | 20: %s",
LCInfo[16][lcMjesto], LCInfo[17][lcMjesto], LCInfo[18][lcMjesto], LCInfo[19][lcMjesto], LCInfo[20][lcMjesto]);
SCM(playerid, -1, globalstring);
}
else if(PlayerInfo[playerid][pLider] == 11)
{
SCM(playerid, -1, "{FFFF80}________________| La Cosa Nostra |________________");
format(globalstring, sizeof globalstring, "Lider 1: %s | Lider 2: %s", LCNInfo[1][lcnLider], LCNInfo[2][lcnLider]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "1: %s | 2: %s | 3: %s | 4: %s | 5: %s",
LCNInfo[1][lcnMjesto], LCNInfo[2][lcnMjesto], LCNInfo[3][lcnMjesto], LCNInfo[4][lcnMjesto], LCNInfo[5][lcnMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "6: %s | 7: %s | 8: %s | 9: %s | 10: %s",
LCNInfo[6][lcnMjesto], LCNInfo[7][lcnMjesto], LCNInfo[8][lcnMjesto], LCNInfo[9][lcnMjesto], LCNInfo[10][lcnMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "11: %s | 12: %s | 13: %s | 14: %s | 15: %s",
LCNInfo[11][lcnMjesto], LCNInfo[12][lcnMjesto], LCNInfo[13][lcnMjesto], LCNInfo[14][lcnMjesto], LCNInfo[15][lcnMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "16: %s | 17: %s | 18: %s | 19: %s | 20: %s",
LCNInfo[16][lcnMjesto], LCNInfo[17][lcnMjesto], LCNInfo[18][lcnMjesto], LCNInfo[19][lcnMjesto], LCNInfo[20][lcnMjesto]);
SCM(playerid, -1, globalstring);
}
else if(PlayerInfo[playerid][pLider] == 16)
{
SCM(playerid, -1, "{FFFF80}________________| Hitman Agency |________________");
format(globalstring, sizeof globalstring, "Lider 1: %s | Lider 2: %s", HAInfo[1][haLider], HAInfo[2][haLider]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "1: %s | 2: %s | 3: %s | 4: %s | 5: %s",
HAInfo[1][haMjesto], HAInfo[2][haMjesto], HAInfo[3][haMjesto], HAInfo[4][haMjesto], HAInfo[5][haMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "6: %s | 7: %s | 8: %s | 9: %s | 10: %s",
HAInfo[6][haMjesto], HAInfo[7][haMjesto], HAInfo[8][haMjesto], HAInfo[9][haMjesto], HAInfo[10][haMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "11: %s | 12: %s | 13: %s | 14: %s | 15: %s",
HAInfo[11][haMjesto], HAInfo[12][haMjesto], HAInfo[13][haMjesto], HAInfo[14][haMjesto], HAInfo[15][haMjesto]);
SCM(playerid, -1, globalstring);
format(globalstring, sizeof globalstring, "16: %s | 17: %s | 18: %s | 19: %s | 20: %s",
HAInfo[16][haMjesto], HAInfo[17][haMjesto], HAInfo[18][haMjesto], HAInfo[19][haMjesto], HAInfo[20][haMjesto]);
SCM(playerid, -1, globalstring);
}
return 1;
}