20.01.2013, 10:49
this might work:
PHP код:
public OnPlayerEnterVehicle(playerid,vehicleid,ispassenger)
{
if(vehicleid == PrivateVehicle[PV][PrivateVehicleId])
{
if(Player[playerid][PlayerName] != PrivateVehicle[PV][PrivateVehicleOwner])
{
if(!ispassenger)
{
RemovePlayerFromVehicle(playerid);
}
}
}
return 1;
}