How to show this for the driver and the passenger ?
#4

Firstly, get vehicle id: then:
pawn Код:
foreach(new i : Player) {
if(GetPlayerVehicleID(i) == vehicle) {
new string[77]; //I changed to 77 slots.
                format(string, sizeof(string), "Passenger %s Entered the taxi with fare %d", GetPlayerNameEx(playerid), TransportValue[playeird]);
               SendClientMessage(playerid,COLOR_YELLOW,string);
}
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)