Is there way to get list of layers in vehicle?
#2

Something like this, maybe?

pawn Код:
foreach(new i : Player)
{
    if(IsPlayerInAnyVehicle(i))
    {
        new vehID = GetPlayerVehicleID(i);
        if(vehID == vehicleIDtoCheck)
        {
            // Do something...
        }
    }
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)