

new Float:gRandomPlayerSpawns[25][3] = {
{2628.8330,2348.0713,10.8203}, // this are coordinates of random spawns
{2861.6289,2430.3257,11.0690},
{2810.8657,1987.2445,10.8203},
{2671.0632,2011.1609,10.8281},
{2624.4458,1824.3765,11.0234},
{2495.6506,1643.8921,14.2656},
{2482.3540,1526.6769,11.4562},
{2614.2900,1385.7592,10.8203},
{2535.3647,997.6971,14.2725},
{2485.9419,919.0803,10.8203},
{1898.0858,684.8121,14.2752},
{1549.4457,1017.5471,10.8203},
{1876.0280,2236.2859,11.1250},
{1909.2520,2350.3167,10.9799},
{2118.0330,2416.6912,49.5234},
{2126.8560,2360.9534,10.8203},
{1417.5988,2235.8542,11.0234},
{1044.5269,1013.0023,11.0000},
{-70.1027,1211.2644,22.4403},
{14.1694,1189.5394,19.3101},
{-248.7177,2591.8750,63.5703},
{-844.5303,2744.8708,45.8474},
{-1483.3262,2646.6748,58.7281},
{-746.7950,1589.8105,26.9609},
{-688.0734,946.6996,13.0313}
};

|
Originally Posted by Geekzor
if i understand right you need spawn locations for palyer spawns right ?
soo place this: atm this are my spawns Код:
new Float:gRandomPlayerSpawns[25][3] = {
{2628.8330,2348.0713,10.8203}, // this are coordinates of random spawns
{2861.6289,2430.3257,11.0690},
{2810.8657,1987.2445,10.8203},
{2671.0632,2011.1609,10.8281},
{2624.4458,1824.3765,11.0234},
{2495.6506,1643.8921,14.2656},
{2482.3540,1526.6769,11.4562},
{2614.2900,1385.7592,10.8203},
{2535.3647,997.6971,14.2725},
{2485.9419,919.0803,10.8203},
{1898.0858,684.8121,14.2752},
{1549.4457,1017.5471,10.8203},
{1876.0280,2236.2859,11.1250},
{1909.2520,2350.3167,10.9799},
{2118.0330,2416.6912,49.5234},
{2126.8560,2360.9534,10.8203},
{1417.5988,2235.8542,11.0234},
{1044.5269,1013.0023,11.0000},
{-70.1027,1211.2644,22.4403},
{14.1694,1189.5394,19.3101},
{-248.7177,2591.8750,63.5703},
{-844.5303,2744.8708,45.8474},
{-1483.3262,2646.6748,58.7281},
{-746.7950,1589.8105,26.9609},
{-688.0734,946.6996,13.0313}
};
with adding ''AddPlayerClass'' i hope i helped ... |

sorry if i sound stuipid
public SetPlayerRandomSpawn(playerid)
{
new rand;
rand = random(sizeof(gRandomPlayerSpawns));
SetPlayerPos(playerid, gRandomPlayerSpawns[rand][0], gRandomPlayerSpawns[rand][1], gRandomPlayerSpawns[rand][2]);
return 1;
}
forward SetPlayerRandomSpawn(playerid);
i learn the Random Spawns from Lvdm gamemode
its very helpful ^^

get gamemode finnished
finish filter scripts