24.06.2009, 19:14
i get one warnign but it still works i made a cmd /bomb and on timer dose this
it give me one warning but it works fine but if i have it like this.
but if like this i get no warnings?
Код:
public BombTimer(playerid) { CreateExplosion(BombX[playerid], BombY[playerid], BombZ[playerid], 11, 10); CreateExplosion(BombX[playerid], BombY[playerid], BombZ[playerid]+2, 10); SendClientMessage(playerid, COLOR_GREY, "Bomb Detonated."); DestroyStreamedObject(BombObject[playerid]); BombArmed[playerid] = false; return 1;
Код:
C:\Documents and Settings\marcus\My Documents\marcus server\gamemodes\shady.pwn(1863) : warning 202: number of arguments does not match definition
Код:
public BombTimer(playerid) { CreateExplosion(BombX[playerid], BombY[playerid], BombZ[playerid], 11, 10); SendClientMessage(playerid, COLOR_GREY, "Bomb Detonated."); DestroyStreamedObject(BombObject[playerid]); BombArmed[playerid] = false; return 1;