SA-MP Forums Archive
nuclear bomb - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: nuclear bomb (/showthread.php?tid=139799)



nuclear bomb - Headshot1108 - 06.04.2010

Hello.
Why my bomb doesn't have a big radius?
i like to do that the explosion are very big, so big radius.

pawn Код:
CreateExplosion(x, y, z, 7, 500.0);
as test i made the radius to 9000 but won't work..


Re: nuclear bomb - Calgon - 06.04.2010

...have you defined X, Y and Z?


Re: nuclear bomb - Headshot1108 - 06.04.2010

yes of course.
its an object.
its explodes, but have a low radius.

pawn Код:
GetObjectPos(Nuke, x, y, z);
CreateExplosion(x, y, z, 7, 9000.999);
CreateExplosion(x, y, z+3, 7, 9000.999);
CreateExplosion(x, y, z+6, 7, 9000.999);
CreateExplosion(x, y, z+9, 7, 9000.999);
CreateExplosion(x, y, z+12, 7, 9000.999);
CreateExplosion(x, y, z+15, 7, 9000.999);
CreateExplosion(x, y, z+18, 7, 9000.999);
CreateExplosion(x, y, z+21, 7, 9000.999);
CreateExplosion(x, y, z+24, 7, 9000.999);
CreateExplosion(x, y, z+27, 7, 9000.999);
CreateExplosion(x, y, z+33, 7, 9000.999);
CreateExplosion(x, y, z+39, 7, 9000.999);
CreateExplosion(x, y, z+42,7, 9000.999);
CreateExplosion(x, y, z+45, 7, 9000.999);
CreateExplosion(x, y, z+51, 7, 9000.999);
DestroyObject(Nuke);



Re: nuclear bomb - ziomal432 - 06.04.2010

SA:MP has limits and the 'yellow' explosion will be visible only in short distance of position. The last argument only makes the player push into opposed direction of epicenter


Re: nuclear bomb - Headshot1108 - 06.04.2010

Quote:
Originally Posted by ziomal432
SA:MP has limits and the 'yellow' explosion will be visible only in short distance of position. The last argument only makes the player push into opposed direction of epicenter
what? don't understand..