/*/======== ORTEN Verfolgen ==========//
if(strcmp(cmd, "/orten", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(!IsACop(playerid))
{
SendClientMessage(playerid, COLOR_GREY, "Du bist kein Cop!");
return 1;
}
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "Benutzung: /orten [Spieler ID]");
return 1;
}
giveplayerid = ReturnUser(tmp);
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
if(OrtenAktiv[playerid]==0)
{
OrtenAktiv[playerid] = 1;
OrtenTimer1[playerid] = SetTimerEx("OrtenTimer",1000,1,"ii",playerid,giveplayerid);
}
else
{
OrtenAktiv[playerid]=0;
DisablePlayerCheckpoint(playerid);
KillTimer(OrtenTimer1[playerid]);
}
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Falsche ID!");
}
}
return 1;
}*/
Alles anzeigen
//forward OrtenTimer(playerid,suchid);
//new OrtenAktiv[MAX_PLAYERS] = 0;
//new OrtenTimer1[MAX_PLAYERS];
Wenn ich die /*/ weg mache bei jedem und dann Compaille kommt das
C:\Users\Acer\Desktop\GTA - San Andreas\German-Star-Reallife\gamemodes\German-Star-Reallife.pwn(24880) : error 029: invalid expression, assumed zero
C:\Users\Acer\Desktop\GTA - San Andreas\German-Star-Reallife\gamemodes\German-Star-Reallife.pwn(24880) : error 017: undefined symbol "Verfolgen"
C:\Users\Acer\Desktop\GTA - San Andreas\German-Star-Reallife\gamemodes\German-Star-Reallife.pwn(24880 -- 24881) : error 029: invalid expression, assumed zero
C:\Users\Acer\Desktop\GTA - San Andreas\German-Star-Reallife\gamemodes\German-Star-Reallife.pwn(24880 -- 24881) : 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.