Ungetestet:
public OnPlayerStateChange(playerid,newstate,oldstate)
{
if(oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_DRIVER){
new vehicleid = GetPlayerVehicleID(playerid);
if(IsAYakuzaCar(vehicleid)){
if(gTeam[playerid] != TEAM_YAKUZA){ return false;}
}
}
return true;
}