{
if(newstate==PLAYER_STATE_DRIVER)
{
for(new i=0; i<sizeof(PolizeiAuto); i++)
{
if(GetPlayerVehicleID(playerid)==PolizeiAuto[i])
{
if(GetPVarInt(playerid,"Fraktion")!=1)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,ROT,"Du bist kein Polizist!");
}
}
}
}
return 1;
}
if(newstate==PLAYER_STATE_DRIVER)
{
for(new i=0; i<sizeof(SwatAuto); i++)
{
if(GetPlayerVehicleID(playerid)==SwatAuto[i])
{
if(GetPVarInt(playerid,"Fraktion")!=1)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,ROT,"Du bist kein Swat-Mitglied!");
}
}
}
return 1;
}
C:\Program Files (x86)\MSXML 4.0\realse\Selfmade-Server\gamemodes\iLife-Alpha.pwn(996) : error 010: invalid function or declaration
C:\Program Files (x86)\MSXML 4.0\realse\Selfmade-Server\gamemodes\iLife-Alpha.pwn(998) : error 010: invalid function or declaration
C:\Program Files (x86)\MSXML 4.0\realse\Selfmade-Server\gamemodes\iLife-Alpha.pwn(1000) : error 010: invalid function or declaration
C:\Program Files (x86)\MSXML 4.0\realse\Selfmade-Server\gamemodes\iLife-Alpha.pwn(1002) : error 010: invalid function or declaration
C:\Program Files (x86)\MSXML 4.0\realse\Selfmade-Server\gamemodes\iLife-Alpha.pwn(1009) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.