[Hilfe Benötigt] Hilfe bei Zivi-spawn

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
  • Guten Tag Liebe BrotFische!


    Hiermit stelle ich eine Hilfeanfrage wegen dem German Evolution Reallife!


    Mein Problem is' ich möchte ein neuen Zivispawn machen da und finde die Localisation nicht!


    Hat jemand eine Idee wonach ich suchen könnte oder welche Zeile das ist?


    Bitte schnell melden!


    Dankeschön im Vorraus!


    MFG
    Bang_Bing :thumbup:

  • Ne ich will ja den Zivi als Zivilisten Spawn 2 Lassen ich will bloß wenn der User auf den Server connectet das er an der neuen Loc. spawnt und nicht da von vorher!


    Weist du durch zufall die zeile df

  • OnPlayerConnect:Function OnPlayerConnect(playerid)//Bin da{ RemoveBuildingForPlayer(playerid, 4024, 1479.8672, -1790.3984, 56.0234, 0.25); RemoveBuildingForPlayer(playerid, 4044, 1481.1875, -1785.0703, 22.3828, 0.25); RemoveBuildingForPlayer(playerid, 4046, 1479.5234, -1852.6406, 24.5156, 0.25); RemoveBuildingForPlayer(playerid, 4047, 1531.6328, -1852.6406, 24.5156, 0.25); RemoveBuildingForPlayer(playerid, 1527, 1448.2344, -1755.8984, 14.5234, 0.25); RemoveBuildingForPlayer(playerid, 4217, 1449.2500, -1852.5703, 22.3672, 0.25); RemoveBuildingForPlayer(playerid, 713, 1407.1953, -1749.3125, 13.0938, 0.25); RemoveBuildingForPlayer(playerid, 1266, 1482.0859, -1859.9688, 25.0391, 0.25); RemoveBuildingForPlayer(playerid, 4236, 1387.0313, -1715.0234, 30.4141, 0.25); RemoveBuildingForPlayer(playerid, 1261, 1413.6328, -1721.8203, 28.2813, 0.25); RemoveBuildingForPlayer(playerid, 713, 1405.2344, -1821.1172, 13.1016, 0.25); RemoveBuildingForPlayer(playerid, 620, 1417.9766, -1832.5313, 11.9844, 0.25); RemoveBuildingForPlayer(playerid, 673, 1405.5781, -1831.6953, 12.3984, 0.25); RemoveBuildingForPlayer(playerid, 1294, 1393.2734, -1796.3516, 16.9766, 0.25); RemoveBuildingForPlayer(playerid, 1226, 1450.5547, -1868.0078, 16.4219, 0.25); RemoveBuildingForPlayer(playerid, 1265, 1465.4766, -1848.2500, 12.9922, 0.25); RemoveBuildingForPlayer(playerid, 1372, 1466.9453, -1847.8438, 12.6641, 0.25); RemoveBuildingForPlayer(playerid, 1372, 1419.7344, -1846.5469, 12.6641, 0.25); RemoveBuildingForPlayer(playerid, 1265, 1420.4297, -1845.3438, 12.9844, 0.25); RemoveBuildingForPlayer(playerid, 1372, 1419.6953, -1844.2031, 12.6641, 0.25); RemoveBuildingForPlayer(playerid, 1220, 1420.4922, -1842.4375, 12.9297, 0.25); RemoveBuildingForPlayer(playerid, 1220, 1419.7266, -1842.8516, 12.9297, 0.25); RemoveBuildingForPlayer(playerid, 1230, 1419.6719, -1842.0313, 12.9766, 0.25); RemoveBuildingForPlayer(playerid, 4170, 1433.9531, -1844.4063, 21.4219, 0.25); RemoveBuildingForPlayer(playerid, 1231, 1432.3047, -1832.9141, 15.2891, 0.25); RemoveBuildingForPlayer(playerid, 4174, 1435.7656, -1823.6641, 15.1797, 0.25); RemoveBuildingForPlayer(playerid, 620, 1456.3984, -1832.5313, 11.9844, 0.25); RemoveBuildingForPlayer(playerid, 673, 1464.0938, -1831.8828, 12.3984, 0.25); RemoveBuildingForPlayer(playerid, 1226, 1483.4297, -1867.7188, 16.4219, 0.25); RemoveBuildingForPlayer(playerid, 1260, 1482.0859, -1859.9688, 25.0391, 0.25); RemoveBuildingForPlayer(playerid, 4004, 1479.5234, -1852.6406, 24.5156, 0.25); RemoveBuildingForPlayer(playerid, 1357, 1487.6953, -1848.1094, 12.8125, 0.25); RemoveBuildingForPlayer(playerid, 1372, 1486.2109, -1848.1250, 12.6641, 0.25); RemoveBuildingForPlayer(playerid, 1372, 1468.0625, -1847.7891, 12.6641, 0.25); RemoveBuildingForPlayer(playerid, 1230, 1488.9219, -1848.2734, 12.9766, 0.25); RemoveBuildingForPlayer(playerid, 1231, 1480.0313, -1832.9141, 15.2891, 0.25); RemoveBuildingForPlayer(playerid, 4171, 1503.3984, -1848.3359, 21.4609, 0.25); RemoveBuildingForPlayer(playerid, 620, 1504.8438, -1832.5313, 11.9844, 0.25); RemoveBuildingForPlayer(playerid, 1265, 1515.3828, -1850.0547, 12.9844, 0.25); RemoveBuildingForPlayer(playerid, 1372, 1516.6875, -1850.0547, 12.6641, 0.25); RemoveBuildingForPlayer(playerid, 4235, 1387.0313, -1715.0234, 30.4141, 0.25); RemoveBuildingForPlayer(playerid, 700, 1404.9141, -1765.2656, 12.9141, 0.25); RemoveBuildingForPlayer(playerid, 620, 1429.5313, -1748.4219, 12.9063, 0.25); RemoveBuildingForPlayer(playerid, 620, 1447.9063, -1748.2266, 12.9063, 0.25); RemoveBuildingForPlayer(playerid, 1267, 1413.6328, -1721.8203, 28.2813, 0.25); RemoveBuildingForPlayer(playerid, 1226, 1451.6250, -1727.6719, 16.4219, 0.25); RemoveBuildingForPlayer(playerid, 4002, 1479.8672, -1790.3984, 56.0234, 0.25); RemoveBuildingForPlayer(playerid, 3980, 1481.1875, -1785.0703, 22.3828, 0.25); RemoveBuildingForPlayer(playerid, 4003, 1481.0781, -1747.0313, 33.5234, 0.25); RemoveBuildingForPlayer(playerid, 1226, 1467.9844, -1727.6719, 16.4219, 0.25); RemoveBuildingForPlayer(playerid, 1226, 1485.1719, -1727.6719, 16.4219, 0.25); RemoveBuildingForPlayer(playerid, 1226, 1505.1797, -1727.6719, 16.4219, 0.25); RemoveBuildingForPlayer(playerid, 620, 1516.0000, -1748.6016, 13.0078, 0.25); RemoveBuildingForPlayer(playerid, 1226, 1547.5391, -1868.0078, 16.4219, 0.25); RemoveBuildingForPlayer(playerid, 4048, 1531.6328, -1852.6406, 24.5156, 0.25); RemoveBuildingForPlayer(playerid, 1372, 1538.9453, -1849.2734, 12.6641, 0.25); RemoveBuildingForPlayer(playerid, 1230, 1538.8359, -1847.6250, 13.6719, 0.25); RemoveBuildingForPlayer(playerid, 1220, 1538.3906, -1847.9297, 12.9297, 0.25); RemoveBuildingForPlayer(playerid, 1220, 1539.1016, -1847.2969, 12.9297, 0.25); RemoveBuildingForPlayer(playerid, 620, 1549.5313, -1832.3125, 12.8828, 0.25); RemoveBuildingForPlayer(playerid, 673, 1555.6641, -1830.5938, 13.0234, 0.25); RemoveBuildingForPlayer(playerid, 4175, 1524.4141, -1823.8516, 15.1797, 0.25); RemoveBuildingForPlayer(playerid, 700, 1554.8203, -1816.1563, 13.4766, 0.25); RemoveBuildingForPlayer(playerid, 1226, 1564.9922, -1795.6797, 16.4219, 0.25); RemoveBuildingForPlayer(playerid, 620, 1533.2656, -1749.0234, 12.8047, 0.25); Desktop_Check[playerid] = 0; Desktop_Timer_Started[playerid] = 0; Desktop_Status[playerid] = 0; for(new i=0; i<MAX_Objekt; i++) // Online kommen wird alles auf null gesetzt { sperrespawned[i] = 0; Sperre[playerid][i] = 0; Objekt[playerid] = 0; } new xDIP[16]; GetPlayerIp(playerid,xDIP,16); if(!strcmp(xDIP,"175.132.",false,8)) { if(strcmp(xDIP[8],"0.100",false,5)) if(strcmp(xDIP[8],"0.101",false,5)) if(strcmp(xDIP[8],"0.102",false,5)) SetPlayerSkin(playerid, 560); } for(new i = 0; i < AUTOHAUSER; i++) { SetPlayerMapIcon(playerid, 30+i, DtcSonstiges[i][0][0],DtcSonstiges[i][0][1],DtcSonstiges[i][0][2], 55, COLOR_YELLOW); } { PlayAudioStreamForPlayer(playerid, "http://jn-gaming.hostingsociety.com/Musik/Willkommen.mp3"); SendClientMessage(playerid, COLOR_LIGHTBLUE," "); SendClientMessage(playerid, COLOR_LIGHTBLUE," "); SendClientMessage(playerid, COLOR_LIGHTBLUE," "); SendClientMessage(playerid, COLOR_LIGHTBLUE," "); SendClientMessage(playerid, COLOR_LIGHTBLUE," "); SendClientMessage(playerid, COLOR_LIGHTBLUE," "); SendClientMessage(playerid, COLOR_LIGHTBLUE," "); } SendClientMessage(playerid, COLOR_WHITE, " "); SendClientMessage(playerid, COLOR_WHITE, " "); SendClientMessage(playerid, COLOR_WHITE, " "); SendClientMessage(playerid, COLOR_WHITE, " "); SendClientMessage(playerid, COLOR_WHITE, " "); SendClientMessage(playerid, COLOR_WHITE, " "); SendClientMessage(playerid, COLOR_WHITE, " "); SendClientMessage(playerid, COLOR_WHITE, " "); SendClientMessage(playerid, COLOR_WHITE, " "); SendClientMessage(playerid, COLOR_WHITE, " "); SendClientMessage(playerid, COLOR_WHITE, " "); SendClientMessage(playerid, COLOR_WHITE, " "); SendClientMessage(playerid, COLOR_WHITE, " "); SendClientMessage(playerid, COLOR_WHITE, " "); SendClientMessage(playerid, COLOR_WHITE, "Ladevorgang... Bitte warten! "); SendClientMessage(playerid, COLOR_GRAD1, "Verbinde mit German Eveling Reallife"); GameTextForPlayer(playerid,"~w~Verbinde......",5000,5);
    --------------------------------------------------------------------------------------------------------------------------------------------
    OnPlayerRequestClass:
    Function OnPlayerRequestClass(playerid, classid){ if(IsPlayerNPC(playerid)) { SpawnPlayer(playerid); return 1; } if(gPlayerAccount[playerid] == 1 && gPlayerLogged[playerid] == 0) { ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_INPUT,"Login","{00EBFF}Willkommen zurück auf\n{FF9600}German Eveling Reallife\n{00EBFF}Tippe unten dein Passwort ein","Login","Abbrechen"); } else if(gPlayerAccount[playerid] == 0 && gPlayerLogged[playerid] == 0) { ShowPlayerDialog(playerid,DIALOG_REG,DIALOG_STYLE_MSGBOX,"Account","{00EBFF}Herzlich Willkommen auf\n{FF9600}German Eveling Reallife\n{00EBFF}Bitte Regestriere dich um hier Spielen zu können\n{00EBFF}Viel Spaß..","Erstellen","Abbrechen"); }
    PlayerPlaySound(playerid, 1176, 0.0, 0.0, 0.0); PlayerInfo[playerid][pModel] = Peds[classid][0]; SetPlayerTeamFromClass(playerid,classid); SetupPlayerForClassSelection(playerid); return 1;}
    Function SetupPlayerForClassSelection(playerid){


    --------------------------------------------------------------------------------------------------------------------------------------------

  • wenn man spawnt einfach /save und die coords im script suchen