02.02.2015, 10:37
On top
After mission complete:
On /sm command:
PHP код:
#define DIALOG_MISSIONLIST 0
new mission1[MAX_PLAYERS];
PHP код:
mission1[playerid]=1;
PHP код:
new string[32], string2[128];
if(mission1[playerid]==1) string = "Stole his wife (COMPLETED)";
else string = "Stole his wife";
format(string2, sizeof(string2), "%s", string);
ShowPlayerDialog(playerid, DIALOG_MISSIONLIST, DIALOG_STYLE_LIST, "Select mission:", string2, "Select","Cancel");