Hallöchen,
alle Koordinaten sind Richtig, und ich werde 'normal' hingespawnt außer wenn ich es 'random' mache.
Code:
new Float:RandomSpawn[][4] =
{
(-692.0450,3929.0674,8.3891,181.1083),
(-695.1676,3928.8584,8.3891,180.4817),
(-697.9693,3928.4607,8.3891,180.4817),
(-702.7523,3927.4719,8.3891,192.3885),
(-707.2645,3926.0649,8.3891,197.7152),
(-707.2645,3926.0649,8.3891,197.7152),
(-710.7797,3923.4084,8.3891,237.8223),
(-713.1983,3919.8010,8.3891,269.1559),
(-711.5639,3916.9636,8.3813,321.7964),
(-710.3093,3916.4885,8.3813,321.7964),
(-706.9630,3914.4270,8.3891,321.7964)
};
public SetPlayerSpawn(playerid){
if(SpielerInfo[playerid][Leader] == 0 || SpielerInfo[playerid][Member] == 0){
new rand = random(sizeof(RandomSpawn));
SetPlayerPos(playerid,RandomSpawn[rand][0],RandomSpawn[rand][1],RandomSpawn[rand][2]);
SetPlayerFacingAngle(playerid,RandomSpawn[rand][3]);
SetPlayerInterior(playerid,0);
}
}
Ich Spawn aber gaaaaaaaanz woanders..