Creating explosions
#1

Hello, I am kinda new to this, so bear with me here.

I was trying to make an explosion command:

pawn Код:
if (strcmp(cmd, "/boom", true) == 0)
    {
        CreateExplosion(268.99725342,1883.84851074,-25.94452477, 1, 10.0); //object(binnt07_la) (1)
        CreateExplosion(268.99707031,1883.84765625,-23.94452477, 1, 10.0); //object(binnt07_la) (2)
        CreateExplosion(268.99707031,1883.84765625,-21.69452477, 1, 10.0); //object(binnt07_la) (3            CreateExplosion(268.99707031,1883.84765625,-19.19452477, 1, 10.0); //object(binnt07_la) (4)
        CreateExplosion(268.99707031,1883.84765625,-16.69452477, 1, 10.0); //object(binnt07_la) (5)
        CreateExplosion(268.99707031,1883.84765625,-13.94452477, 1, 10.0); //object(binnt07_la) (6)
        CreateExplosion(268.99707031,1883.84765625,-10.69452477, 1, 10.0); //object(binnt07_la) (7)
        CreateExplosion(268.99707031,1883.84765625,-7.94452477, 1, 10.0); //object(binnt07_la) (8)
        CreateExplosion(268.99707031,1883.84765625,-4.94452477, 1, 10.0); //object(binnt07_la) (9)
        CreateExplosion(268.99707031,1883.84765625,-2.19452477, 1, 10.0); //object(binnt07_la) (10)
        CreateExplosion(268.99707031,1883.84765625,0.80547523, 1, 10.0);//object(binnt07_la) (11)
        CreateExplosion(268.99707031,1883.84765625,3.55547523, 1, 10.0); //object(binnt07_la) (12)
        CreateExplosion(268.99707031,1883.84765625,6.80547523, 1, 10.0); //object(binnt07_la) (13)
        CreateExplosion(268.99707031,1883.84765625,10.55547523, 1, 10.0); //object(binnt07_la) (14)
        CreateExplosion(268.99707031,1883.84765625,19.80547523, 1, 10.0); //object(binnt07_la) (15)
        CreateExplosion(268.99707031,1883.84765625,19.80547523, 1, 10.0); //object(binnt07_la) (16)
        }
        return 1;
    }
But PAWN program shuts down so there is something seriously wrong there, maybe this cant be done? Can someone please show me how to do this right, I would really appreciate it! Also, adding luxadmin to this command so only I can use it, like this:

pawn Код:
if(IsPlayerLuxAdminLevel(playerid, 10))
Thanks in advance!
Reply


Messages In This Thread
Creating explosions - by Prometheus - 03.08.2011, 15:23
Respuesta: Creating explosions - by Sergio_MOW - 03.08.2011, 15:28
Re: Creating explosions - by sleepysnowflake - 03.08.2011, 15:31
Re: Creating explosions - by Prometheus - 03.08.2011, 15:32
Re: Creating explosions - by Prometheus - 03.08.2011, 15:42
Re: Creating explosions - by Prometheus - 03.08.2011, 15:44
Re: Creating explosions - by Shockey HD - 03.08.2011, 15:46
Re: Creating explosions - by Prometheus - 03.08.2011, 16:03
Re: Creating explosions - by sleepysnowflake - 03.08.2011, 16:13
Re: Creating explosions - by Shockey HD - 03.08.2011, 16:21

Forum Jump:


Users browsing this thread: 3 Guest(s)