21.06.2014, 15:21
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);
}
}