[Scripten]Bitte um Hilfe in mehreren Angelegenheiten!

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 wie mache ich das ich Skins zur Auswahl habe wo ich die IDs aussuchen kann welche Verfügbar sind und wie mache ich das diese gespeichert werden in der %s.ini Datei damit wenn man sich einloggt wieder der gleiche Skin kommt?


    Achja und wie mache ich das NICHT beim Loggin die Skin Auswahl kommt sogar durch das Drücken von F4 und Sterben nur?


    public OnPlayerRequestClass(playerid, classid)
    {
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
    return 1;
    }

    Why do programmers always mix up Halloween and Christmas?
    Oct 31 == Dec 25

  • Ja das weiß ich doch. Nur bei mir kommt es schon beim Einloggen und das will ich eben nicht die Skin Auswahl soll NUR Durch das Drücken von F4 und Sterben kommen >.>
    Screen: http://s10b.directupload.net/images/100322/iuvh9h38.png

    Und halt das ich mir Skins aussuchen kann denn dort sind keine zur Verfügung irgendwie, und so das der Skin dann gespeichert ist in der .ini sodass er beim erneuten Einloggen immernoch Vorhanden ist!

    Why do programmers always mix up Halloween and Christmas?
    Oct 31 == Dec 25

  • dir fehlen die skins


    hier





    new Peds[200][1] = {
    {7},
    {247},
    {248},{100},{256},{263},{262},{261},{260},{259},{258},{257},{256},{255},
    {253},{252},{251},{246},{245},{244},{243},{242},{241},{239},
    {238},{237},{236},{235},{234},{233},{232},{231},{230},{229},
    {226},{225},{224},{223},{222},{221},{220},{219},{218},
    {217},{216},{215},{214},{213},{212},{211},{210},{209},
    {207},{206},{205},{204},{203},{202},{201},{200},{199},{198},{197},{196},
    {195},{194},{193},{192},{191},{190},{189},{185},{184},{183},
    {182},{181},{180},{179},{178},{176},{172},{170},{168},{167},{162},
    {161},{160},{159},{158},{157},{156},{155},{154},{153},{152},{151},
    {146},{145},{144},{143},{142},{141},{140},{139},{138},{137},{136},{135},
    {134},{133},{132},{131},{130},{129},{128},{254},{99},{97},{96},{95},{94},
    {92},{90},{89},{88},{87},{85},{84},{83},{82},{81},{80},{79},{78},{77},{76},
    {75},{73},{72},{69},{68},{67},{66},{64},{63},{62},{58},{57},{56},{55},
    {54},{53},{52},{51},{50},{49},{45},{44},{43},{41},{39},{38},{37},{36},{35},
    {34},{33},{32},{31},{30},{29},{28},{27},{26},{25},{24},{23},{22},{21},{20},
    {19},{18},{17},{16},{15},{14},{13},{12},{11},{10},{1},{2},
    {290},
    {291},
    {293},
    {187},
    {296},
    {297},
    {298},
    {299}
    };


    das oben hin



    AddPlayerClass(180,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(217,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(211,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass( 28,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass( 0,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(202,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(137,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass( 21,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass( 22,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass( 19,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(181,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(242,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass( 29,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass( 61,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(167,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(179,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(204,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass( 80,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass( 81,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass( 23,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass( 99,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(161,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass( 33,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(163,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(164,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(165,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(166,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(277,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(280,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(282,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(283,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(284,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(285,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(287,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(100,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(106,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass( 93,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(233,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass( 41,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(178,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(246,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass( 85,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(192,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(193,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(286,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass( 18,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass( 26,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(141,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(189,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass( 70,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(213,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(206,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(228,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(240,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(272,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn
    AddPlayerClass(269,-1356.9233,-115.6884,14.3241,115.0000,0,0,0,0,0,0); //Spawn



    das bei OnGamemodeINit

  • Warum ist das nicht alles in einer Zeile hier:
    new Peds[200][1] = {
    {7},{247},{248},{100},{256},{263},{262},{261},{260},{259},{258},{257},{256},{255},{253},{252},{251},{246},{245},{244},{243},{242},{241},{239},{238},{237},{236},{235},{234},{233},{232},{231},{230},{229},{226},{225},{224},{223},{222},{221},{220},{219},{218},{217},{216},{215},{214},{213},{212},{211},{210},{209},{207},{206},{205},{204},{203},{202},{201},{200},{199},{198},{197},{196},{195},{194},{193},{192},{191},{190},{189},{185},{184},{183},{182},{181},{180},{179},{178},{176},{172},{170},{168},{167},{162},{161},{160},{159},{158},{157},{156},{155},{154},{153},{152}{151},{146},{145},{144},{143},{142},{141},{140},{139},{138},{137},{136},{135},{134},{133},{132},{131},{130}.{129},{128},{254},{99},{97},{96},{95},{94},{92},{90},{89},{88},{87},{85},{84},{83},{82},{81},{80},{79},{78},{77},{76},{75},{73},{72},{69},{68},{67},{66},{64},{63},{62},{58},{57},{56},{55},{54},{53},{52},{51},{50},{49},{45},{44},{43},{41},{39},{38},{37},{36},{35},{34},{33},{32},{31},{30},{29},{28},{27},{26},{25},{24},{23},{22},{21},{20},{19},{18},17},{16},{15},{14},{13},{12},{11}{10},{1},{2},{290},{291},{293},{187},{296},{297},{298},{299}
    };


    Und die AddPlayerClass wohin? Ganz nach oben über den Includes, Forwards und Defines?


    Code
    C:\Dokumente und Einstellungen\Desktop\Selfmade Script\gamemodes\Reallife.pwn(110) : warning 217: loose indentation
    C:\Dokumente und Einstellungen\Desktop\Selfmade Script\gamemodes\Reallife.pwn(166) : warning 217: loose indentation
    C:\Dokumente und Einstellungen\Desktop\Selfmade Script\gamemodes\Reallife.pwn(1590) : warning 203: symbol is never used: "Peds"
    Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase
    
    
    
    
    3 Warnings.

    Why do programmers always mix up Halloween and Christmas?
    Oct 31 == Dec 25

    Einmal editiert, zuletzt von TPO ()

  • das new peds.... oben hin urgendwo



    und das mit AddPla....
    Unter


    OnGameModeInit
    {
    Add......
    ...
    ...
    ...
    ....
    usw....
    }


    achja ich habe das net alles in einer zeile weil das doof aussieht


    //edit weil dir das script sonst ein error zeigt das die zeile zu lang ist

  • C:\Dokumente und Einstellungen\Desktop\Selfmade Script\gamemodes\Reallife.pwn(1591) : warning 203: symbol is never used: "Peds"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Warning.

    Why do programmers always mix up Halloween and Christmas?
    Oct 31 == Dec 25

  • nimm mal den news peds; oder so warte



    habe was vergessen unter den AddPlayer.....


    das einfügen


    for(new i = 0; i <= sizeof(Peds)-1; i++)
    {
    AddPlayerClass(Peds[i][0],1958.3783,1343.1572,1100.3746,269.1425,-1,-1,-1,-1,-1,-1);
    }

  • Hab ich schon danke Trotzdem naja Danke ^^ nur vergessen zu Closen
    Achja die Liefen übelst schwul musste erstma PadAnim umstellen xP



    ~Closed

    Why do programmers always mix up Halloween and Christmas?
    Oct 31 == Dec 25