Update dialog
#1

Alright so when a player types /mission and they click on the mission they want, what kind of thing would i do so it says "[COMPLETED] or [FINISHED] when a player has finished the certain mission.
Reply
#2

Quote:
Originally Posted by Hayden_Bruin
Посмотреть сообщение
Alright so when a player types /mission and they click on the mission they want, what kind of thing would i do so it says "[COMPLETED] or [FINISHED] when a player has finished the certain mission.
You would need to store which jobs they have completed into a variable which you could then use to determine if they have completed the job. I'll give you an example:

pawn Код:
if(g_JobStatus == 1) format(string, sizeof(string), "[COMPLETED]: Trash Pickup");
else if(g_JobStatus == 0) format(string, sizeof(string), "[NOT COMPLETED]: Trash Pickup");
You will need to do the rest, but that should help you get started.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)