Little Timer help
#1

Hey guys i would like when i type the following command to create a explosion every 20 secs, and when all the "CreateExplosion" are done automatically stop making explosions:

pawn Код:
CMD:makefire5(playerid, params[])
{
        CreateExplosion(-2234.91, -2569.58, 31.44, 2, 10.0);
        CreateExplosion(-2241.28, -2554.87, 31.44, 2, 10.0);
         CreateExplosion(-2234.77, -2554.10, 31.44, 2, 10.0);
        CreateExplosion(-2241.35, -2549.56, 31.44, 2, 10.0);
        CreateExplosion(-2237.42, -2557.57, 31.44, 2, 10.0);
        CreateExplosion(-2246.12, -2555.67, 31.44, 2, 10.0);
        CreateExplosion(-2246.84, -2560.35, 31.44, 2, 10.0);
        CreateExplosion(-2250.81, -2565.00, 31.44, 2, 10.0);
        CreateExplosion(-2244.13, -2568.56, 31.44, 2, 10.0);
        CreateExplosion(-2242.96, -2562.24, 31.44, 2, 10.0);
        CreateExplosion(-2236.65, -2564.52, 31.44, 2, 10.0);
        SendClientMessage(playerid, 0xFFFF0096, "[INFO]Fire has been created! (Small Gas Station)");
        return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)