Hallo,
ich finde meine Errors nicht...
Hier:
Function OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
if (LCNVehs(vehicleid) && !ispassenger)
{
if(IsPlayerInFrac(playerid,5) || IsPlayerInFrac(playerid,24)) {}
else
{
SendClientMessage(playerid,COLOR_RED,"Du hast keine Schlüssel");
TogglePlayerControllable(playerid,false);
TogglePlayerControllable(playerid,true);
}
}
C:\Users\Moritz\Desktop\Scripte\Era Script\gamemodes\Release.pwn(3927) : warning 217: loose indentation
C:\Users\Moritz\Desktop\Scripte\Era Script\gamemodes\Release.pwn(3927) : error 012: invalid function call, not a valid address
C:\Users\Moritz\Desktop\Scripte\Era Script\gamemodes\Release.pwn(3927) : warning 215: expression has no effect
C:\Users\Moritz\Desktop\Scripte\Era Script\gamemodes\Release.pwn(3927) : error 001: expected token: ";", but found ")"
C:\Users\Moritz\Desktop\Scripte\Era Script\gamemodes\Release.pwn(3927) : error 029: invalid expression, assumed zero
C:\Users\Moritz\Desktop\Scripte\Era Script\gamemodes\Release.pwn(3927) : 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.
if (LCNVehs(vehicleid) && !ispassenger)
Hoffe es kann einer helfen
LG