explode
#7

pawn Код:
new Float:sX, Float:sY, Float:sZ;

Sprogimas()
{
    new rand = random(sizeof(Sprogimai));

    CreateExplosion(Sprogimai[rand][0], Sprogimai[rand][1], Sprogimai[rand][2], 6, 10); // Sprogdinam
    sX = Sprogimai[rand][0];
    sY = Sprogimai[rand][1];
    sZ = Sprogimai[rand][2];
    printf("Sprogimo coordinates: X: %f, Y: %f, Z: %f", sX, sY, sZ);
    return 1;
}
Try it, but i am not sure, maybe this code is right.
Reply


Messages In This Thread
explode - by kLx - 26.07.2009, 10:00
Re: explode - by Joe Staff - 26.07.2009, 10:02
Re: explode - by kLx - 26.07.2009, 10:04
Re: explode - by kLx - 26.07.2009, 15:56
Re: explode - by kLx - 28.07.2009, 06:46
Re: explode - by Abernethy - 28.07.2009, 07:03
Re: explode - by arnutisz - 28.07.2009, 09:22

Forum Jump:


Users browsing this thread: 1 Guest(s)