02.06.2014, 20:02
pawn Код:
format(string, sizeof(string), "____________ TAXI DISPATCH PANEL _____________", PlayerInfo[playerid][pPnumber]);
SendJobMessage(17, COLOR_YELLOW, string);
format(string, sizeof(string), "REQUESTING: {FFFFFF}Taxi Services");
SendJobMessage(17, COLOR_YELLOW, string);
format(string, sizeof(string), "DESTINATION: {FFFFFF}%s", zone);
SendJobMessage(17, COLOR_YELLOW, string);
format(string, sizeof(string), "PHONE NUMBER: {FFFFFF}%i", PlayerInfo[playerid][pPnumber]);
SendJobMessage(17, COLOR_YELLOW, string);
format(string, sizeof(string), "____________________________________________", PlayerInfo[playerid][pPnumber]);
SendJobMessage(17, COLOR_YELLOW, string);
format(string, sizeof(string), "To accept this service request; (type /ataxi %d)", playerid);
SendJobMessage(17, COLOR_WHITE, string);
-----
pawn Код:
/*format(string, sizeof(string), "** %s is in need of a taxi driver - click Accept to accept the call.", GetPlayerNameEx(playerid));
foreach(Player, i)
{
if(TransportDuty[i] > 0 && (PlayerInfo[i][pJob] == 17 || PlayerInfo[i][pJob2] == 17 || PlayerInfo[i][pTaxiLicense] == 1 ))
{
ShowPlayerDialog(i, DIALOG_ACCEPTDIALOG, DIALOG_STYLE_MSGBOX, "{FFFFFF}Taxi Call", string, "Accept", "Reject");
PlayerInfo[i][pAcceptID] =12;
}
}*/