Problem with if(GetVehicleModel(vehicleid) == 596||597||598||427||523||599||601)
#2

Try this:

pawn Код:
// My code that displays for all vehicles, not just the ones listed
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(vehicleid == 596||597||598||427||523||599||601)
    {
        SendClientMessage(playerid, 0xFFFFFFFF, "Nice Police Vehicle!");
    }
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)