Moin Leute,
Ich bekomme folgende Error, jedoch wenn ich im Script "Streamer_OnPlayerEnterRaceCP suche findet er nix, ...
C:\DOKUME~1\Besitzer\Desktop\0441FC~1.MRZ\GERMAN~1\GAMEMO~1\Selfmade.pwn(53538) : error 021: symbol already defined: "Streamer_OnPlayerEnterRaceCP"
Kann mir jemand weiterhelfen?
LG
//EDIT:
Achja die Zeile:
public OnPlayerEnterRaceCheckpoint(playerid)
{
//Event Checkpoints:
if(checkpointrace == 1)
{
PlayerPlaySound(playerid, 1137, 0.0, 0.0, 0.0);
new c = PlayerInfo[playerid][event_check];
if(c == event_check_idx)
{
new string[128], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
format(string, sizeof(string), " %s hat den letzten Checkpoint erreicht !", name);
SendClientMessageToAll(COLOR_GRAD3, string);
DisablePlayerRaceCheckpoint(playerid);
}
PlayerInfo[playerid][event_check] = 0;
return 1;
}
if(c == event_check_idx-1)
{
PlayerInfo[playerid][event_check] += 1;
c = PlayerInfo[playerid][event_check];
if(event_check_model != 0)
{
SetPlayerRaceCheckpoint(playerid, 4, event_check_X[code=c], event_check_Y[code=c], event_check_Z[code=c], 0.0, 0.0, 0.0, 13.0);
return 1;
}
SetPlayerRaceCheckpoint(playerid, 1, event_check_X[code=c], event_check_Y[code=c], event_check_Z[code=c], 0.0, 0.0, 0.0, 13.0);
return 1;
}
PlayerInfo[playerid][event_check] += 1;
c = PlayerInfo[playerid][event_check];
SetPlayerRaceCheckpoint(playerid, event_check_model, event_check_X[code=c], event_check_Y[code=c], event_check_Z[code=c], event_check_X[c+1], event_check_Y[c+1], event_check_Z[c+1], 13.0);
return 1;
}
}
Die Zeile indem der Error sich befindet ist direkt nach public OnPlayerEnterRaceCheckpoint(playerid) also in dieser Klammerzeile.. dort steht jedoch ja nix außer diese Klammer