Code
public bombexplode(playerid)
{
DestroyObject(bombe);
CreateExplosion(PlayerExplosionX[1]+10, PlayerExplosionY[1]-10, PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+15, PlayerExplosionY[1]-15, PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+20, PlayerExplosionY[1]-20, PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+25, PlayerExplosionY[1]-25, PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+10, PlayerExplosionY[1]-10, PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+10, PlayerExplosionY[1]-10, PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+10, PlayerExplosionY[1]-10, PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+10, PlayerExplosionY[1]-10, PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+10, PlayerExplosionY[1]-10, PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-10, PlayerExplosionY[1]+10, PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+15, PlayerExplosionY[1]-15, PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-15, PlayerExplosionY[1]+15, PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+10, PlayerExplosionY[1]-170, PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+100, PlayerExplosionY[1]-170, PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+150, PlayerExplosionY[1]-107, PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+102, PlayerExplosionY[1]-105, PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+105, PlayerExplosionY[1]-120, PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+180, PlayerExplosionY[1]-140, PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+120, PlayerExplosionY[1]-170, PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+120, PlayerExplosionY[1]-105, PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+100, PlayerExplosionY[1]-108, PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+107, PlayerExplosionY[1]-120, PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-102, PlayerExplosionY[1]+180, PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+150, PlayerExplosionY[1]-155, PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-105, PlayerExplosionY[1]+145, PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+150, PlayerExplosionY[1]-150, PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1], PlayerExplosionY[1], PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1], PlayerExplosionY[1], PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1], PlayerExplosionY[1], PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1], PlayerExplosionY[1], PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1], PlayerExplosionY[1], PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1], PlayerExplosionY[1], PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1], PlayerExplosionY[1], PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1], PlayerExplosionY[1], PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1], PlayerExplosionY[1], PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1], PlayerExplosionY[1], PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1], PlayerExplosionY[1], PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1], PlayerExplosionY[1], PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1], PlayerExplosionY[1], PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-5, PlayerExplosionY[1]-5, PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+5, PlayerExplosionY[1]+5, PlayerExplosionZ[10], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+7.5, PlayerExplosionY[1]-7.5, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-7.5, PlayerExplosionY[1]+7.5, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+20, PlayerExplosionY[1]-20, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-20, PlayerExplosionY[1]+20, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-30, PlayerExplosionY[1]+30, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+30, PlayerExplosionY[1]-30, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-30, PlayerExplosionY[1]+30, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+25, PlayerExplosionY[1]-25, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+10, PlayerExplosionY[1], PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+20, PlayerExplosionY[1], PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+25, PlayerExplosionY[1], PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+15, PlayerExplosionY[1], PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+7.5, PlayerExplosionY[1], PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1], PlayerExplosionY[1]-10, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1], PlayerExplosionY[1]-20, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1], PlayerExplosionY[1]-25, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1], PlayerExplosionY[1]-15, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1], PlayerExplosionY[1]-7.5, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-7.5, PlayerExplosionY[1]-7.5, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-10, PlayerExplosionY[1]-10, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-15, PlayerExplosionY[1]-15, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-20, PlayerExplosionY[1]-20, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-25, PlayerExplosionY[1]-25, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+7.5, PlayerExplosionY[1]+7.5, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+10, PlayerExplosionY[1]+10, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+15, PlayerExplosionY[1]+15, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+20, PlayerExplosionY[1]+20, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+25, PlayerExplosionY[1]+25, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+35, PlayerExplosionY[1]+25, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+45, PlayerExplosionY[1]+25, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+50, PlayerExplosionY[1]+25, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+55, PlayerExplosionY[1]+25, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+65, PlayerExplosionY[1]+25, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+75, PlayerExplosionY[1]+25, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+85, PlayerExplosionY[1]+25, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+95, PlayerExplosionY[1]+25, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+100, PlayerExplosionY[1]+25, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+105, PlayerExplosionY[1]+25, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+110, PlayerExplosionY[1]+25, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+115, PlayerExplosionY[1]+25, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+120, PlayerExplosionY[1]+25, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+130, PlayerExplosionY[1]+25, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+125, PlayerExplosionY[1]+25, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+135, PlayerExplosionY[1]+25, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+140, PlayerExplosionY[1]+25, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]+10, PlayerExplosionY[1]-10, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-10, PlayerExplosionY[1]-10, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-15, PlayerExplosionY[1]-15, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-20, PlayerExplosionY[1]-20, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-25, PlayerExplosionY[1]-25, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-35, PlayerExplosionY[1]-35, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-45, PlayerExplosionY[1]-45, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-50, PlayerExplosionY[1]-55, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-55, PlayerExplosionY[1]-65, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-65, PlayerExplosionY[1]-75, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-75, PlayerExplosionY[1]-85, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-85, PlayerExplosionY[1]-95, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-95, PlayerExplosionY[1]-105, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-100, PlayerExplosionY[1]-25, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-105, PlayerExplosionY[1]-130, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-110, PlayerExplosionY[1]-135, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-115, PlayerExplosionY[1]-140, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-120, PlayerExplosionY[1]-145, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-130, PlayerExplosionY[1]-155, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-125, PlayerExplosionY[1]-165, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-135, PlayerExplosionY[1]-170, PlayerExplosionZ[1], 7, 20.0);
CreateExplosion(PlayerExplosionX[1]-140, PlayerExplosionY[1]-175, PlayerExplosionZ[1], 7, 20.0);
SetPlayerCriminal(playerid,255, "Anschlag");
Alles anzeigen
Wie kann ich das schaffen, dass nicht alles aufeinmal explodiert, sondern Zeile für Zeile sprich, Zeile 1 explodiert, 1/2 Sekunde später, Zeile 2 explodiert...
Mit dem Timer hatte ich es versucht, jedoch ohne Erfolg. (Hatte nicht aufgehört zu explodieren...)