Bei dem Script kommt immer eine Fehlermeldung!!!
G:\echter samp server richtiger\GTA Samp Server\gamemodes\GTAReallifeU18Server0.3b.pwn(2178) : error 021: symbol already defined: "OnPlayerEnterVehicle"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Was hab ich falsch gemacht?
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { if(gTeam[playerid] >= 3) { if (IsACopCar(vehicleid) && !ispassenger) { if(PlayerInfo[playerid][pLeader]==1||PlayerInfo[playerid][pLeader]==2||PlayerInfo[playerid][pLeader]==3) {} else { WantedPoints[playerid]+=2; SetPlayerCriminal(playerid,255, "Diebstahl eines Polizei Fahrzeugs"); } } if (IsAnAmbulance(vehicleid) && !ispassenger) { if(PlayerInfo[playerid][pMember]==4||PlayerInfo[playerid][pLeader]==4) { } else { WantedPoints[playerid]+=2; SetPlayerCriminal(playerid,255, "Diebstahl eines Krankenwagen"); } } } new msg[256]; format(msg,sizeof(msg),"MODEL: %d ID: %d",GetVehicleModel(vehicleid),vehicleid); SendClientMessage(playerid,0xFF6900AA,msg); return 1; }