07.08.2009, 22:58
My code:
The errors:
pawn Код:
new Float:X, Float:Y, Float:Z;
GetObjectPos(ship, X, Y, Z)
if(X = 2525.469727 && Y = -3387.998779 && Z = 16.037821) // error line
{
SendClientMessageToAll(COLOR_GREEN, "The ship has arrived! Attack!");
}
}
Quote:
(770) : error 001: expected token: ";", but found "if" (770) : warning 211: possibly unintended assignment (770) : warning 211: possibly unintended assignment (770) : error 022: must be lvalue (non-constant) (770) : error 022: must be lvalue (non-constant) (770) : fatal error 107: too many error messages on one line |