C:\DOKUME~1\ADMINI~1\EIGENE~1\ICQ\gf.pwn(7) : error 029: invalid expression, assumed zero
C:\DOKUME~1\ADMINI~1\EIGENE~1\ICQ\gf.pwn(11) : error 029: invalid expression, assumed zero
C:\DOKUME~1\ADMINI~1\EIGENE~1\ICQ\gf.pwn(11) : warning 215: expression has no effect
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
Bei diesem script..:
if(strcmp(cmd,"/backup",true)==0 || strcmp(cmd,"/bk",true)==0)
{
if(IsPlayerConnected(playerid))
{
if(gTeam[playerid] == 2)
{
if (PlayerInfo[playerid][pRequestingBackup] != 1)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "ALL UNITS: %s is requesting immediate assistance, they have been marked on the map (red).", sendername);
PlayerInfo[playerid][pRequestingBackup] = 1;
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[i][pMember] == 1||PlayerInfo[i][pLeader] == 1)
{
SendClientMessage(i, TEAM_BLUE_COLOR, string);
}
}
}
SendClientMessage(playerid, TEAM_BLUE_COLOR, "Type /bkc to clear your backup request.");
SetTimerEx("BackupClear", 180000, false, "ii", playerid, 1);
}
else
{
SendClientMessage(playerid, COLOR_GREY, "You already have an active backup request!");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "You are not a cop!");
}
}
return 1;
}
THX im vorraus