Hab versucht einen Spawnchange befehl zu machen und hab da einen Error
new Float:Fraktionsspawn[][3] = {
{246.2065,74.4952,1003.6406},
{322.7314,307.9302,999.1484},
{2538.0984,-1318.5977,1031.4219},
{1715.3199,-1666.1963,20.2266},
{1284.7596,-58.2371,1002.5009},
{-2029.6364,-117.4502,1035.1719},
{352.3596,174.0542,1019.9844},
{2496.1511,-1709.0679,1014.7422},
{322.3183,1118.9454,1083.8828},
{2450.0474,-1700.8066,1013.5078},
{2807.9070,-1171.0884,1025.5703},
{2328.2778,-1146.3090,1050.7101},
{-689.6019,936.5473,13.6328},
{2808.8870,-1170.6046,1025.5703},
{987.2000,-1254.3831,16.9844}
};
OnplayerSpawn
if(sSpieler[playerid][Fraktion] == 1)
{
SetPlayerPos(playerid,Fraktionsspawn[0][1],Fraktionsspawn[0][2],Fraktionsspawn[0][3]);
//hier ist er
}
Error:
C:\Users\Ralf\Desktop\Samp o.3x Server\gamemodes\GRSA-Script.pwn(7431) : error 032: array index out of bounds (variable "Fraktionsspawn")