16.12.2012, 07:51
Just create this: (An err.. 'Collection' of random locations you can record using /save ingame')
Then you can 'CreateDynamicCP'..
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.