Hallo Leute!
Ich habe versucht heute Random Spawns zu erstellen, jedoch werde ich am Null Punkt gespawnt!
Hier mal die Coods:
static const Float:sfspawns[][] = {
{1087.3717,-1227.4813,15.8203,262.0435},
{1309.7506,-1370.3428,13.5737,178.7725},
{}, //sind
{}, //alle
{}, // gefüllt
{}, // keine
{}, // angst
{}, //.
{}, //.
{} //.
};
new idx = random(sizeof(sfspawns));
SetPlayerPos(playerid,sfspawns[idx][0],sfspawns[idx][1],sfspawns[idx][2]);
Es sind Ingesamt 10 Spawnpunkte. Ich habs auch schon nur mit X,Y,Z versucht aber es ging auch nicht.