07.08.2016, 11:59
(
Последний раз редактировалось Jensenn; 18.09.2016 в 20:11.
)
xxxx
if(TransportDriver[playerid] < MAX_PLAYERS && AdminDuty[playerid] == 0)
{
new string[128];
TransportMoney[TransportDriver[playerid]] += TransportCost[playerid];
format(string, sizeof(string), "~w~Taksi ucreti~n~~r~$%d",TransportCost[playerid]);
GameTextForPlayer(playerid, string, 5000, 3);
//GameTextForPlayer(-TransportCost[playerid], string, 5000, 1);
format(string, sizeof(string), "~w~Musteri taksiden ayrildi~n~~g~Kazanilan $%d",TransportCost[playerid]);
GameTextForPlayer(TransportDriver[playerid], string, 5000, 3);
GivePlayerCash(playerid, -TransportCost[playerid]);