Du könntest es auch mit einem Enum regeln. Das könnte dann zB so aussehen: (Sorry, falls Fehler vorhanden sind. Bin auf Arbeit, und kann hier nichts testen).
enum enum_FactionSpawns
{
Float:PosX,
Float:PosY,
Float:PosZ,
Float:PosA,
Color,
Skin
}
new fSpawn[6][enum_FactionSpawns] = {
{2025.0194,1008.0113,10.8203,266.3221,Zivi,1},
{1569.7238,-1694.0360,5.8906,178.3540,LSPD,266},
{1050.7272,1006.7212,11.0000,324.5735,FBI,285},
{155.3963,1903.2561,18.6888,271.1202,Army,287},
{328.6095,-1512.7717,36.0391,232.0174,Medic,70},
{-2519.9355,-623.5046,132.7723,2.7521,News,187}
}
//OnPlayerSpawn (oder was auch immer :P)
if(PlayerInfo[playerid][pEingeloggt] == 0)
{
new string[128],name[MAX_PLAYER_NAME],fid=PlayerInfo[playerid][pFraktion];
GetPlayerName(playerid,name,sizeof(name));
format(string,sizeof(string),"{FFFFFF}%s {999999}hat den Server betreten. Herzlich Willkommen!",name);
SendClientMessageToAll(Grau,string);
PlayerInfo[playerid][pEingeloggt] = 1;
SendDeathMessage(INVALID_PLAYER_ID,playerid,200);
}
SetPlayerPos(playerid,fSpawn[fid][PosX],fSpawn[fid][PosY],fSpawn[fid][PosZ]);
SetPlayerFacingAngle(playerid,fSpawn[fid][PosA]);
SetCameraBehindPlayer(playerid);
SetPlayerColor(playerid,fSpawn[fid][Color]);
SetPlayerSkin(playerid,fSpawn[fid][Skin]);
PlayerInfo[playerid][pEingeloggt] = 1;