Problema intalnita (descriere):Incerc sa schimb comanda :factions care este pe dialog MSGBOX, pe DIALOG_STYLE_TABLIST_HEADERS...In codul meu eu am schimbat doar textul Dialog_style_msgbox cu DIALOG_STYLE_TABLIST_HEADERS, nimic mai mult...Insa acum cand dau /factions nu apare decat dialogul fara nimic pe el sau in el. Ero(area / rile) / warning-(ul / urile): Liniile de cod / sursa / script-ul(obligatoriu):
CMD:factions( playerid, params[ ])
{
szMessage[ 0 ] = ( EOS );
for( new i = 0; i < MAX_GROUPS; i++ )
{
if(strlen(groupVariables[i][gGroupName]) >= 1 && strcmp(groupVariables[i][gGroupName], "Dezactivated", true))
{
format( szMessage, sizeof( szMessage ), "%s\n{FFFFFF}%s [%d/%d] - Leader: %s( %s )", szMessage, groupVariables[i][gGroupName], GetFacMembers( i ), groupVariables[i][gSlots], GetFactionLeader( i ), GetLeaderStatus( GetFactionLeader( i ) ) );
}
}
ShowPlayerDialog(playerid, 6943, DIALOG_STYLE_TABLIST,"{FFFFFF}Factions", szMessage, "Ok", "");
return 1;
}
Imagini / Video (optional): Ati incercat sa rezolvati singur?:Da am inlocuit la linia ShowPlayerDialog, Dialog_style_msgbox cu Dialog_Style_tablist_headers
Question
PhaRaoH.
Problema intalnita (descriere):Incerc sa schimb comanda :factions care este pe dialog MSGBOX, pe DIALOG_STYLE_TABLIST_HEADERS...In codul meu eu am schimbat doar textul Dialog_style_msgbox cu DIALOG_STYLE_TABLIST_HEADERS, nimic mai mult...Insa acum cand dau /factions nu apare decat dialogul fara nimic pe el sau in el.
Ero(area / rile) / warning-(ul / urile):
Liniile de cod / sursa / script-ul(obligatoriu):
CMD:factions( playerid, params[ ]) { szMessage[ 0 ] = ( EOS ); for( new i = 0; i < MAX_GROUPS; i++ ) { if(strlen(groupVariables[i][gGroupName]) >= 1 && strcmp(groupVariables[i][gGroupName], "Dezactivated", true)) { format( szMessage, sizeof( szMessage ), "%s\n{FFFFFF}%s [%d/%d] - Leader: %s( %s )", szMessage, groupVariables[i][gGroupName], GetFacMembers( i ), groupVariables[i][gSlots], GetFactionLeader( i ), GetLeaderStatus( GetFactionLeader( i ) ) ); } } ShowPlayerDialog(playerid, 6943, DIALOG_STYLE_TABLIST,"{FFFFFF}Factions", szMessage, "Ok", ""); return 1; }Imagini / Video (optional):
Ati incercat sa rezolvati singur?:Da am inlocuit la linia ShowPlayerDialog, Dialog_style_msgbox cu Dialog_Style_tablist_headers
2 answers to this question
Recommended Posts