Posts: 273
Threads: 35
Joined: Sep 2012
Reputation:
0
Nvm, fixed. Problem was with the indefinite loops.
Posts: 30
Threads: 9
Joined: Jan 2016
Reputation:
0
ShowPlayerMissionDialog(playerid)
{
new dialogstr[556];
new string[80], string2[80], string3[80], string4[80], string5[80];
format(string,sizeof(string),"Eliminate %i Enemies\t%i$\t%i\n",MissionKills,MissionReward[0],MissionRewardS[0]);
format(string2,sizeof(string2),"Capture %i Bases\t%i$\t%i\n",MissionBases,MissionReward[1],MissionRewardS[1]);
format(string3,sizeof(string3),"Kill A Player of %s Class\t%i$\t%i\n",ReturnClassName(MissionClass),Mi ssionReward[2],MissionRewardS[2]);
format(string4,sizeof(string4),"Kill 30 Enemies Using %s\t%i$\t%i\n",VehicleNames[MissionVehicle],MissionReward[3],MissionRewardS[3]);
format(string5,sizeof(string5),"Deal %i Hp of Damage to Enemies\t%i$\t%i\n",MissionDamage,MissionReward[4],MissionRewardS[4]);
strcat(dialogstr, string);
strcat(dialogstr, string2);
strcat(dialogstr, string3);
strcat(dialogstr, string4);
strcat(dialogstr, string5);
ShowDialog(playerid, Show:Mission1, DIALOG_STYLE_LIST, "Bulletin Board", dialogstr, "Select", "Close");
return 1;
}
here.
Posts: 273
Threads: 35
Joined: Sep 2012
Reputation:
0
What exactly did you do here ?