Hallo,
kann mir jemand helfen ?
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate==PLAYER_STATE_DRIVER)
{
if(GetPlayerVehicleID(playerid)==Dekocar)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,0xE10000FF,"Das Car ist Dekoration!.");
return 1;
}
}
}
Hab die Errors:
C:\Users\Beny\Desktop\Ostern.pwn(756) : error 017: undefined symbol "Dekocar"
C:\Users\Beny\Desktop\Ostern.pwn(763) : warning 209: function "OnPlayerStateChange" should return a value
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Allerdings habe ich oben Dekocar definiert.. warum also undefined symbol ?
new Dekocar[4];