About exsplosives
#3

And for the explosions around you use random

pawn Код:
new
    i,
    Float: X,
    Float: Y,
    Float: Z;
GetPlayerPos(playerid, X, Y, Z);
for( ; i != 10; ++i) { // 10 explosions
    CreateExplosion(
        X + (random(2) ? (random(10) + 10.0) : (-(random(10) + 10.0))),
        Y + (random(2) ? (random(10) + 10.0) : (-(random(10) + 10.0))),
        Z, 0, 5.0);
}
You could also create any object, like a circle with the trigonometric functions
Reply


Messages In This Thread
About exsplosives - by Setkus - 16.07.2011, 17:13
Re: About exsplosives - by dowster - 16.07.2011, 17:40
AW: About exsplosives - by Nero_3D - 16.07.2011, 18:17
Re: About exsplosives - by Setkus - 16.07.2011, 20:40
Re: About exsplosives - by =WoR=Varth - 17.07.2011, 00:23
Re: About exsplosives - by dowster - 17.07.2011, 02:05
Re: About exsplosives - by Setkus - 17.07.2011, 09:15

Forum Jump:


Users browsing this thread: 2 Guest(s)