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

This code will work more precisely .As per my information.
pawn Код:
IsAnTaxi(vehicleid) || IsAnBus(vehicleid))
    {
        foreach(Player, i)
        {
            if(ispassenger)
            {
                new string[77]; //I changed to 77 slots.
                format(string, sizeof(string), "Passenger %s Entered the taxi with fare %d", GetPlayerNameEx(playerid), TransportValue[playeird]);
                ProxDetector(2.0, playerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW);
                //I just removed the return 1; over here.
            }
        }
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)