21.02.2013, 00:04
Mais Erros!!
Se eu fizer isso funfa mas n solta bombas!
Assim compila Mas quando testo nгo funfa nada! Eu aperto Espase ou proxima bomba na bolinha do mouse nada aconteзe! Nill tenta resolver pelo jeito ke tu fez!
pawn Код:
FSbomber.pwn(369) : error 001: expected token: ")", but found "-identifier-"
FSbomber.pwn(369) : warning 213: tag mismatch
FSbomber.pwn(369) : warning 215: expression has no effect
FSbomber.pwn(369) : error 001: expected token: ";", but found ")"
FSbomber.pwn(369) : error 029: invalid expression, assumed zero
FSbomber.pwn(369) : 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.
pawn Код:
public OnBombExplode(playerid, num, Float:x, Float:y, Float:z)
{
for(new i = 0; i < MAX_PLAYERS; i ++)
{
if(GetPlayerDistanceToPoint(i, x, y, z) < 2)
if(gBombTypes[btype[playerid][num]][expID]) /* o 2 mudei pra isto! a bombenum "expID" */
{
SetPVarInt(i, "nearExp", playerid);
SetTimerEx("ResetNearExp", 15000, 0, "i", i);
}
}
return 1;
}