[HELP] Random Explosions
#8

Just create this: (An err.. 'Collection' of random locations you can record using /save ingame')
pawn Код:
new Float:RandomSpawns[][] =
{
    {1249.7258, -2047.9263, 59.9209}, //
    {1241.2084, -2057.6521, 60.0190}, //
    {1241.0105, -2052.6873, 59.9975}, //
    {718.4906, -1477.3024, 5.4688}, //
    {722.3772, -1477.2856, 5.4688} //
};
pawn Код:
CreateExplosion(RandomSpawns[random(sizeof(RandomSpawns))][0], RandomSpawns[random(sizeof(RandomSpawns))][1], RandomSpawns[random(sizeof(RandomSpawns))][2] //creates random explosions at one of the points.
Then you can 'CreateDynamicCP'..
Reply


Messages In This Thread
[HELP] Random Explosions - by niconhan - 16.12.2012, 03:51
Re: [HELP] Random Explosions - by Socan - 16.12.2012, 03:53
Re: [HELP] Random Explosions - by niconhan - 16.12.2012, 06:56
Re: [HELP] Random Explosions - by niconhan - 16.12.2012, 07:46
Re: [HELP] Random Explosions - by Dark Killer - 16.12.2012, 07:48
Re: [HELP] Random Explosions - by Faisal_khan - 16.12.2012, 07:51
Re: [HELP] Random Explosions - by niconhan - 16.12.2012, 07:51
Re: [HELP] Random Explosions - by RajatPawar - 16.12.2012, 07:51
Re: [HELP] Random Explosions - by niconhan - 16.12.2012, 07:59
Re: [HELP] Random Explosions - by niconhan - 16.12.2012, 08:01

Forum Jump:


Users browsing this thread: 5 Guest(s)