public OnPlayerExitVehicle(playerid, vehicleid)
{
    return 1;
}
    Policee(vehicleid)
    {
    for(new i; i <= Police; i++)
    {
    if(vehicleid == Police[i]) return true;
    }
    return false;
    }
public OnPlayerStateChange(playerid, newstate, oldstate)
{
	if(newstate == PLAYER_STATE_DRIVER)
    {
    if(GetPlayerVehicleID(playerid) == Police(vehicleid))
    {
    if(!isPlayerPolice(playerid))
    {
    SendClientMessage(playerid, 0xFFFFFFFF, "Du bist kein Polizist");
    RemovePlayerFromVehicle(playerid);
    }
    }
    }
    return 1;
}
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\2ndday.pwn(644) : error 012: invalid function call, not a valid address
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\2ndday.pwn(644) : error 017: undefined symbol "vehicleid"
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\2ndday.pwn(644) : error 029: invalid expression, assumed zero
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\2ndday.pwn(644) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
//EDIT:
Wobei ich natürlich vor den cars Police[0] = Police[1] = etc... gemacht habe
 
		 
		
		
	




