20.06.2015, 09:38
Yes thats easy.
Example:
public OnPlayerEnterCheckpoint(playerid)
{
if(CP1 == 1) {
new dwg[1024];
strcat(dwg,"{00FF00}--------- PizzaBoy Job ---------\n\n");
strcat(dwg,"{FFFFFF}Do you want to be a PizzaBoy Delivery ?\n");
strcat(dwg,"{FFFFFF}Chose 'Yes' if you want , and chose 'No' if you don't want.\n\n\n");
strcat(dwg,"{FF0000}Job Salary : {1F45FC}$7000 + 13 score\n");
ShowPlayerDialog(playerid, DIALOG_PIZZA, DIALOG_STYLE_MSGBOX, "{FF0000}Jobs", dwg, "Yes", "No");
CarSpawner(playerid,44;
}
Example:
public OnPlayerEnterCheckpoint(playerid)
{
if(CP1 == 1) {
new dwg[1024];
strcat(dwg,"{00FF00}--------- PizzaBoy Job ---------\n\n");
strcat(dwg,"{FFFFFF}Do you want to be a PizzaBoy Delivery ?\n");
strcat(dwg,"{FFFFFF}Chose 'Yes' if you want , and chose 'No' if you don't want.\n\n\n");
strcat(dwg,"{FF0000}Job Salary : {1F45FC}$7000 + 13 score\n");
ShowPlayerDialog(playerid, DIALOG_PIZZA, DIALOG_STYLE_MSGBOX, "{FF0000}Jobs", dwg, "Yes", "No");
CarSpawner(playerid,44;
}