04.08.2009, 19:25
Код:
if(phonenumb == 444) { if(TaxiDrivers < 1 || PlayerInfo[playerid][pJob] == 25) { SendClientMessage(playerid, COLOR_GREY, " They Picked up the call."); SendClientMessage(playerid, 0xF4E19FAA, "Men voice Says (cellphone): Yellow cab co. here. Sorry we have no drivers available at the moment."); SendClientMessage(playerid, COLOR_GREY, " They hang up."); return 1; } if(TransportDuty[playerid] > 0) { SendClientMessage(playerid, COLOR_GREY, " You can't call for a Taxi now !"); return 1; } GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "** %s is in need of a Taxi Driver. (use /accept taxi to accept the call)", sendername); SendFamilyMessage(10, TEAM_AZTECAS_COLOR, string); SendClientMessage(playerid, COLOR_GREY, " They Picked up the call."); SendClientMessage(playerid, 0xF4E19FAA, "Men voice Says (cellphone): All taxi drivers have been informed about your call."); SendClientMessage(playerid, COLOR_GREY, " They hang up."); TaxiCall = playerid; return 1; }
How do i set if anyone got job 25 and can see like "%s is in need of a Taxi Driver. (use /accept taxi to accept the call"
sorry bad english :S