19.04.2011, 21:45
blahblah, Made it in a filterscript. ( Not fully done yet, tbh not even half done. )
If anyone else wants to do this they could use mine and add in the moving objects and fix the spawn angle.
pawn Код:
#include <a_samp>
#define PI 3.14159265
public OnFilterScriptInit( )
{
new ship[ 30 ];
SetWeather( 8 );
ship[ 1 ] = CreateObject ( 9585, 594.024994, -2507.973343, 16.240688, 0.000000, 0.000000, 0.000000 );
ship[ 2 ] = CreateObject ( 9586, 592.341562, -2507.970338, 26.287117, 0.000000, 0.000000, 0.000000 );
ship[ 3 ] = CreateObject ( 9584, 519.213539, -2507.960570, 35.307964, 0.000000, 0.000000, 0.000000 );
ship[ 4 ] = CreateObject ( 9761, 593.563006, -2507.960257, 36.307343, 0.000000, 0.000000, 0.000000 );
ship[ 5 ] = CreateObject ( 9590, 600.276580, -2507.975836, 17.972404, 0.000000, 0.000000, 0.000000 );
ship[ 6 ] = CreateObject ( 9588, 599.583616, -2507.992563, 16.842083, 0.000000, 0.000000, 0.000000 );
ship[ 7 ] = CreateObject ( 9587, 602.710941, -2507.997527, 32.860355, 0.000000, 0.000000, 0.000000 );
ship[ 8 ] = CreateObject ( 9698, 531.703178, -2509.137287, 38.210091, 0.000000, 0.000000, 0.000000 );
ship[ 9 ] = CreateObject ( 9821, 530.456947, -2505.668294, 33.931679, 0.000000, 0.000000, 0.000000 );
ship[ 10 ] = CreateObject ( 9820, 530.690063, -2507.855123, 42.203083, 0.000000, 0.000000, 0.000000 );
ship[ 11 ] = CreateObject ( 9818, 533.328865, -2508.044811, 43.003025, 0.000000, 0.000000, 0.000000 );
ship[ 12 ] = CreateObject ( 9819, 533.565224, -2501.948847, 42.212730, 0.000000, 0.000000, 0.000000 );
ship[ 13 ] = CreateObject ( 1215, 528.850662, -2504.785474, 63.687782, 0.000000, 0.000000, 0.000000 );
ship[ 14 ] = CreateObject ( 1215, 528.831230, -2512.129888, 63.678757, 0.000000, 0.000000, 0.000000 );
ship[ 15 ] = CreateObject ( 1215, 535.183273, -2492.588416, 42.097248, 0.000000, 0.000000, 0.000000 );
ship[ 16 ] = CreateObject ( 1215, 528.183350, -2492.613416, 42.097248, 0.000000, 0.000000, 0.000000 );
ship[ 17 ] = CreateObject ( 1215, 535.143707, -2524.527042, 42.097248, 0.000000, 0.000000, 0.000000 );
ship[ 18 ] = CreateObject ( 1215, 528.293762, -2524.577042, 42.097248, 0.000000, 0.000000, 0.000000 );
ship[ 19 ] = CreateObject ( 1215, 535.307335, -2524.785160, 34.588375, 0.000000, 0.000000, 0.000000 );
ship[ 20 ] = CreateObject ( 1215, 535.336227, -2592.647525, 34.588486, 0.000000, 0.000000, 0.000000 );
ship[ 21 ] = CreateObject ( 1215, 509.676369, -2514.116117, 36.259785, 0.000000, 0.000000, 0.000000 );
ship[ 22 ] = CreateObject ( 1215, 509.676369, -2501.816118, 36.259785, 0.000000, 0.000000, 0.000000 );
ship[ 23 ] = CreateObject ( 1215, 481.725655, -2507.948462, 27.232681, 0.000000, 0.000000, 0.000000 );
ship[ 24 ] = CreateObject ( 1215, 496.538727, -2507.996759, 28.309702, 0.000000, 0.000000, 0.000000 );
ship[ 25 ] = CreateObject ( 2780, 515.756454, -2511.287848, 47.607914, 0.000000, 0.000000, 0.000000 );
ship[ 26 ] = CreateObject ( 2780, 515.756454, -2504.787860, 47.607914, 0.000000, 0.000000, 0.000000 );
ship[ 27 ] = CreateObject ( 2780, 524.303802, -2503.224801, 29.735508, 0.000000, 0.000000, 0.000000 );
ship[ 28 ] = CreateObject ( 2780, 560.012344, -2498.232987, 10.054436, 0.000000, 0.000000, 0.000000 );
ship[ 29 ] = CreateObject ( 2780, 640.127350, -2496.485858, 10.376801, 0.000000, 0.000000, 0.000000 );
return 1;
}
public OnPlayerSpawn( playerid )
{
new
rand_Angle,
Float:spawnX,
Float:spawnY
;
rand_Angle = random( 360 );
spawnX = 10 * floatcos( rand_Angle ) + 515;
spawnY = 10 * floatsin( rand_Angle ) + -2466.5;
SetPlayerPos( playerid, spawnX, spawnY, 1 );
SetPlayerFacingAngle( playerid, rand_Angle );
}