Linux Server Spawn Problem

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Hallo Breadfishes^^


    auf meinem Homeserver (127.0.0.1) kann ich ohne Probleme Spawnen und zoggn, jedoch auf dem Server den ich betreibe kann man nicht spawnen oO (der Server dort, ist ein Linux Server)


    hier die Spawn Sachen





    public OnPlayerRequestClass(playerid,classid)
    {
    if(GetPVarInt(playerid,"Leader") == 0 && GetPVarInt(playerid,"Member") == 0 && GetPVarInt(playerid,"Co-Leader") == 0)
    {
    SetSpawnInfo(playerid,0,GetPVarInt(playerid,"Skin"),1481.2429,-1765.4749,18.7958,90,0,0,0,0,0,0);
    SpawnPlayer(playerid);
    }
    else if(GetPVarInt(playerid,"Leader") == 1 || GetPVarInt(playerid,"Member") == 1 || GetPVarInt(playerid,"Co-Leader") == 1)
    {
    SetSpawnInfo(playerid,1,GetPVarInt(playerid,"Skin"),1528.1154,-1678.1752,5.8906,270,0,0,0,0,0,0);
    SpawnPlayer(playerid);
    }
    else if(GetPVarInt(playerid,"Leader") == 2 || GetPVarInt(playerid,"Member") == 2 || GetPVarInt(playerid,"Co-Leader") == 2)
    {
    SetSpawnInfo(playerid,2,GetPVarInt(playerid,"Skin"),687.8657,-1275.8818,13.5580,270,0,0,0,0,0,0);
    SpawnPlayer(playerid);
    }
    else if(GetPVarInt(playerid,"Leader") == 3 || GetPVarInt(playerid,"Member") == 3 || GetPVarInt(playerid,"Co-Leader") == 3)
    {
    SetSpawnInfo(playerid,3,GetPVarInt(playerid,"Skin"),1176.8591,-1338.8954,13.9571,90.7024,0,0,0,0,0,0);
    SpawnPlayer(playerid);
    }
    else if(GetPVarInt(playerid,"Leader") == 4 || GetPVarInt(playerid,"Member") == 4 || GetPVarInt(playerid,"Co-Leader") == 4)
    {
    SetSpawnInfo(playerid,4,GetPVarInt(playerid,"Skin"),2512.8181,-1666.4994,13.5704,270,0,0,0,0,0,0);
    SpawnPlayer(playerid);
    }
    else if(GetPVarInt(playerid,"Leader") == 5 || GetPVarInt(playerid,"Member") == 5 || GetPVarInt(playerid,"Co-Leader") == 5)
    {
    SetSpawnInfo(playerid,5,GetPVarInt(playerid,"Skin"),1125.1277,-2037.3474,69.8820,270,0,0,0,0,0,0);
    SpawnPlayer(playerid);
    }
    else if(GetPVarInt(playerid,"Leader") == 6 || GetPVarInt(playerid,"Member") == 6 || GetPVarInt(playerid,"Co-Leader") == 6)
    {
    SetSpawnInfo(playerid,6,GetPVarInt(playerid,"Skin"),751.3002,-1356.7736,13.5000,270,0,0,0,0,0,0);
    SpawnPlayer(playerid);
    }
    else if(GetPVarInt(playerid,"Leader") == 7 || GetPVarInt(playerid,"Member") == 7 || GetPVarInt(playerid,"Co-Leader") == 7)
    {
    SetSpawnInfo(playerid,7,GetPVarInt(playerid,"Skin"),1220.0416,-1812.7147,16.5938,179.1384,0,0,0,0,0,0);
    SpawnPlayer(playerid);
    }
    else if(GetPVarInt(playerid,"Leader") == 8 || GetPVarInt(playerid,"Member") == 8 || GetPVarInt(playerid,"Co-Leader") == 8)
    {
    SetSpawnInfo(playerid,8,GetPVarInt(playerid,"Skin"),-525.1820,-502.0846,25.5234,270,0,0,0,0,0,0);
    SpawnPlayer(playerid);
    }
    else if(GetPVarInt(playerid,"Leader") == 9 || GetPVarInt(playerid,"Member") == 9 || GetPVarInt(playerid,"Co-Leader") == 9)
    {
    SetSpawnInfo(playerid,9,GetPVarInt(playerid,"Skin"),1957.0682,-2213.2217,16.1250,270,0,0,0,0,0,0);
    SpawnPlayer(playerid);
    }
    else if(GetPVarInt(playerid,"Leader") == 10 || GetPVarInt(playerid,"Member") == 10 || GetPVarInt(playerid,"Co-Leader") == 10)
    {
    SetSpawnInfo(playerid,10,GetPVarInt(playerid,"Skin"),501.2040,-74.6583,998.7578,270,0,0,0,0,0,0);
    SpawnPlayer(playerid);
    }
    return 0;
    }
    public OnPlayerSpawn(playerid)
    {
    if(IsPlayerConnected(playerid))
    {
    if(GetPVarInt(playerid,"Leader") == 0 && GetPVarInt(playerid,"Member") == 0 && GetPVarInt(playerid,"Co-Leader") == 0)
    { SetPlayerPos(playerid,1481.2429,-1765.4749,18.7958); SetPlayerSkin(playerid,GetPVarInt(playerid,"Skin")); }
    if(GetPVarInt(playerid,"Leader") == 1 || GetPVarInt(playerid,"Member") == 1 || GetPVarInt(playerid,"Co-Leader") == 1)
    { SetPlayerPos(playerid,1528.1154,-1678.1752,5.8906); if(GetPVarInt(playerid,"Leader") == 1) { SetPlayerSkin(playerid,283); } else { SetPlayerSkin(playerid,GetPVarInt(playerid,"Skin")); } }
    if(GetPVarInt(playerid,"Leader") == 2 || GetPVarInt(playerid,"Member") == 2 || GetPVarInt(playerid,"Co-Leader") == 2)
    { SetPlayerPos(playerid,687.8657,-1275.8818,13.5580); if(GetPVarInt(playerid,"Leader") == 2) { SetPlayerSkin(playerid,172); } else { SetPlayerSkin(playerid,GetPVarInt(playerid,"Skin")); } }
    if(GetPVarInt(playerid,"Leader") == 3 || GetPVarInt(playerid,"Member") == 3 || GetPVarInt(playerid,"Co-Leader") == 3)
    { SetPlayerPos(playerid,1176.8591,-1338.8954,13.9571); if(GetPVarInt(playerid,"Leader") == 3) { SetPlayerSkin(playerid,274); } else { SetPlayerSkin(playerid,GetPVarInt(playerid,"Skin")); } }
    if(GetPVarInt(playerid,"Leader") == 4 || GetPVarInt(playerid,"Member") == 4 || GetPVarInt(playerid,"Co-Leader") == 4)
    { SetPlayerPos(playerid,2512.8181,-1666.4994,13.5704); if(GetPVarInt(playerid,"Leader") == 4) { SetPlayerSkin(playerid,269); } else { SetPlayerSkin(playerid,GetPVarInt(playerid,"Skin")); } }
    if(GetPVarInt(playerid,"Leader") == 5 || GetPVarInt(playerid,"Member") == 5 || GetPVarInt(playerid,"Co-Leader") == 5)
    { SetPlayerPos(playerid,1125.1277,-2037.3474,69.8820); if(GetPVarInt(playerid,"Leader") == 5) { SetPlayerSkin(playerid,147); } else { SetPlayerSkin(playerid,GetPVarInt(playerid,"Skin")); } }
    if(GetPVarInt(playerid,"Leader") == 6 || GetPVarInt(playerid,"Member") == 6 || GetPVarInt(playerid,"Co-Leader") == 6)
    { SetPlayerPos(playerid,751.3002,-1356.7736,13.5000); if(GetPVarInt(playerid,"Leader") == 6) { SetPlayerSkin(playerid,295); } else { SetPlayerSkin(playerid,GetPVarInt(playerid,"Skin")); } }
    if(GetPVarInt(playerid,"Leader") == 7 || GetPVarInt(playerid,"Member") == 7 || GetPVarInt(playerid,"Co-Leader") == 7)
    { SetPlayerPos(playerid,1220.0416,-1812.7147,16.5938); if(GetPVarInt(playerid,"Leader") == 7) { SetPlayerSkin(playerid,255); } else { SetPlayerSkin(playerid,GetPVarInt(playerid,"Skin")); } }
    if(GetPVarInt(playerid,"Leader") == 8 || GetPVarInt(playerid,"Member") == 8 || GetPVarInt(playerid,"Co-Leader") == 8)
    { SetPlayerPos(playerid,-525.1820,-502.0846,25.5234); SetPlayerSkin(playerid,275); }
    if(GetPVarInt(playerid,"Leader") == 9 || GetPVarInt(playerid,"Member") == 9 || GetPVarInt(playerid,"Co-Leader") == 9)
    { SetPlayerPos(playerid,1957.0682,-2213.2217,16.1250); if(GetPVarInt(playerid,"Leader") == 9 || GetPVarInt(playerid,"Co-Leader") == 9) { SetPlayerSkin(playerid,187); } else if(GetPVarInt(playerid,"Member") == 9) { SetPlayerSkin(playerid,61); } }
    if(GetPVarInt(playerid,"Leader") == 10 || GetPVarInt(playerid,"Member") == 10 || GetPVarInt(playerid,"Co-Leader") == 10)
    { SetPlayerPos(playerid,501.2040,-74.6583,998.7578); SetPlayerInterior(playerid,11); SetPlayerSkin(playerid,GetPVarInt(playerid,"Skin")); }
    CheckFirstLog(playerid);
    if(GetPVarInt(playerid,"Mieter") == 1 || GetPVarInt(playerid,"Hausbesitzer") == 1) {
    for(new h; h<MAX_HOUSES; h++)
    {
    SetPlayerPos(playerid,HInfo[h][TeleX],HInfo[h][TeleY],HInfo[h][TeleZ]);
    SetPlayerSkin(playerid,GetPVarInt(playerid,"Skin"));
    }}
    GangZoneShowForPlayer(playerid,Grovezone,0x00800096);
    GangZoneShowForPlayer(playerid, Hellszone, 0x80800096);
    GangZoneShowForPlayer(playerid,NoDmZone,0xD8D8D896);
    GangZoneShowForPlayer(playerid,NoDmZone2,0xD8D8D896);
    SetTimerEx("NoDmTimer",5000,1,"i",playerid);
    if(InArrest[playerid] == 1)
    {
    SetPlayerPos(playerid,264.27612304688,87.547065734863,1002.2335205078);
    SetPlayerInterior(playerid,6);
    }
    }
    return 0;
    }











    danke schon mal im voraus