16.04.2011, 02:47
Sorry For Double Post
---------------------------
Im Try Other Same Why Errors ??
errors
error Line
---------------------------
Im Try Other Same Why Errors ??
pawn Код:
if (IsPlayerInRangeOfPoint(i, 50, -543.7328, 2594.1885, 53.51565)) {
if(EnteredArea2[i] == 0) { // if he hasn't entered before
if(gTeam[i] == TEAM_USA && CapturedBy2 == 1 || gTeam[i] == TEAM_GERMANY && CapturedBy2 == 2 || gTeam[i] == TEAM_MERC && CapturedBy2 == 3 || gTeam[i] == TEAM_JAPAN && CapturedBy2 == 4 || gTeam[i] == TEAM_RUSSIA && CapturedBy2 == 5) {
SendClientMessage(i, COLOR_RED, "This area has already been captured by your team!");
EnteredArea2[i] = 1;
}
else {
SendClientMessageToAll(COLOR_CON_GREEN, "The Restarunt is being taken over!");
EnteredArea[i] = 1; // He has entered
SendClientMessage(i,COLOR_CON_GREEN, "Stay In here for 30 seconds to take over the area!");
IfCapture[i] = 1;
T1[i] = SetTimer("TakeOver",30000,0);
}
}
}
Код:
E:\.......\3cinc\gamemodes\COD5.pwn(8795) : error 029: invalid expression, assumed zero E:\.....\3cinc\gamemodes\COD5.pwn(8795) : warning 215: expression has no effect E:\.......\3cinc\gamemodes\COD5.pwn(8795) : error 001: expected token: ";", but found ")" E:\.......\3cinc\gamemodes\COD5.pwn(8795) : error 029: invalid expression, assumed zero E:\........\3cinc\gamemodes\COD5.pwn(8795) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
pawn Код:
if (IsPlayerInRangeOfPoint(i, 50, -543.7328, 2594.1885, 53.51565)) {