C:\Windows\Vss\First Person\Samp Server\gamemodes\German-Elite-Reallife.pwn(22661) : error 010: invalid function or declaration
C:\Windows\Vss\First Person\Samp Server\gamemodesGerman-Reallife.pwn(22663) : error 010: invalid function or declaration
C:\Windows\Vss\First Person\Samp Server\gamemodes\German-Reallife.pwn(22665) : error 010: invalid function or declaration
C:\Windows\Vss\First Person\Samp Server\gamemodes\German-Reallife.pwn(22667) : error 010: invalid function or declaration
C:\Windows\Vss\First Person\Samp Server\gamemodes\German-Reallife.pwn(22670) : error 010: invalid function or declaration
C:\Windows\Vss\First Person\Samp Server\gamemodes\German-Reallife.pwn(22673) : error 010: invalid function or declaration
C:\Windows\Vss\First Person\Samp Server\gamemodes\German-Reallife.pwn(22680) : error 010: invalid function or declaration
C:\Windows\Vss\First Person\Samp Server\gamemodes\German-Reallife.pwn(66974) : warning 203: symbol is never used: "allowed"
Function OnVehicleDeath(vehicleid)
{
for(new playerid = 0; playerid < MAX_PLAYERS; playerid++)
{
for(new x = 0; x < MaxVeh; x++)
{
if(IsPlayerConnected(playerid) && Dtc_PlayerHaveCar[playerid][x])
{
if (vehicleid == PlayerCar[playerid][x][CarId])
{
DestroyVehicle(PlayerCar[playerid][x][CarId]);
PlayerCarSpawn(playerid,x);
}
}
}
}
for(new fc;fc<sizeof(FactionCars);fc++)
{
if(vehicleid == FactionCars[fc][fCarid])
{
DestroyAndCreateFactionCar(fc);
break;
}
}
return 1;
}
new bool:allowed;
for(new fc;fc<sizeof(FactionCars);fc++)
{
if(newcar == FactionCars[fc][fCarid])
{
for(new f;f<5;f++)
{
if(IsPlayerInFrac(playerid,FactionCars[fc][fFaction][f]))
{
allowed = true;
break;
}
}
if(!allowed)
{
SendClientMessage(playerid,COLOR_RED,"Du bist kein Mitglied!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid,false);
TogglePlayerControllable(playerid,true);
}
break;
}
}