C:\Users\Sinan\Desktop\SAMP SERVER2\gamemodes\first.pwn(405) : error 017: undefined symbol "GetVehicleID"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER)
{
for(new i = 0; i<(sizeof(lspdcars)); i++)
{
if(GetVehicleID(playerid) == lspdcars[i])
{
if(IstSpielerInFraktion(playerid, 1))
{
}
else
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,ROT,"Du bist kein Mitglied des LSPDs!");
}
}
}
}
return 1;
}
Ich verstehe dabei nicht, wieso nicht GetVehicleID definiert ist. . .