26.02.2009, 17:15
if i use this:
it works.
but now i tried this:
and i get this error:
i found that here so i thought it'd work ><
http://www.lix.polytechnique.fr/~lib...nditional.html
Код:
if(PlayerToPoint(i, 250.0, PosBombX, PosBombY, PosBombZ))
{
SetPlayerMapIcon(i, 13, PosBombX, PosBombY, PosBombZ, 23, 0);
}
else
{
RemovePlayerMapIcon(i, 13);
}
but now i tried this:
Код:
PlayerToPoint(i, 250.0, PosBombX, PosBombY, PosBombZ) ? SetPlayerMapIcon(i, 13, PosBombX, PosBombY, PosBombZ, 23, 0) : RemovePlayerMapIcon(i, 13);
Quote:
|
warning 215: expression has no effect |
http://www.lix.polytechnique.fr/~lib...nditional.html

