Beiträge von Tempic

    Hallo,
    Ich möchte Waffen von den Spielern speichern. Ich weis sowas gibt es im Englischen Forum aber ich finde des leider nicht meh. Des wegen wollte ich mal hier nach fragen ob ihr die seite noch kennt


    MFG Tempic

    Hallo,
    Wolte euch malfragen ob einer vin euch die gangzone.cfg von dem Suchti GM hat.
    Ihr sagt bestimmt "mach dir selber eine".Aber wie :P ICh habe kein Plan was da rein muss




    //_____________________________________________________________________________\\
    Habe ncoh ne frage.Ich wolte des wegen nciht noch was auf machen.


    Wie bekomme ich das Weg ?





    LG Tempic

    Hier Bitte


    public SetPlayerSpawn(playerid)
    {
    if(IsPlayerConnected(playerid))
    {
    if(TVx[playerid] != 0.0)
    {
    SetPlayerInterior(playerid, TVint[playerid]);
    SetPlayerVirtualWorld(playerid, TVvw[playerid]);
    SetPlayerPos(playerid, TVx[playerid], TVy[playerid],TVz[playerid]);
    SetPlayerHealth(playerid, TVhealth[playerid]);
    SetPlayerArmour(playerid, TVarmor[playerid]);
    for(new i; i<13; i++)
    {
    SafeGivePlayerWeapon(playerid, TVweapons[playerid][i][0],TVweapons[playerid][i][1]);
    }
    return 1;
    }
    if(PlayerInfo[playerid][pTut] == 0)
    {
    gOoc[playerid] = 1; gNews[playerid] = 1; gFam[playerid] = 1;
    TogglePlayerControllable(playerid, 0);
    RegistrationStep[playerid] = 1;
    ShowPlayerDialog(playerid, 4, DIALOG_STYLE_MSGBOX , "Geschlecht", "Welches Geschlecht bist du?", "Männlich", "Weiblich");
    }
    new rand;
    new house = PlayerInfo[playerid][pPhousekey];
    if(PlayerPaintballing[playerid] != 0)
    {
    SafeResetPlayerWeapons(playerid);
    SafeGivePlayerWeapon(playerid, 29, 999);
    rand = random(sizeof(PaintballSpawns));
    SetPlayerPos(playerid, PaintballSpawns[rand][0], PaintballSpawns[rand][1], PaintballSpawns[rand][2]);
    return 1;
    }
    if(PlayerInfo[playerid][pJailed] == 1)
    {
    SetPlayerInterior(playerid,3);
    SetPlayerPos(playerid,198.3396,162.2801,1003.0300);
    SendClientMessage(playerid, COLOR_LIGHTRED, " Polizei Department:Zurück in die Zelle es wird nicht ausgebrochen! ");
    return 1;
    }
    if(PlayerInfo[playerid][pJailed] == 2)
    {
    SetPlayerInterior(playerid,0);
    SetPlayerPos(playerid,268.5777,1857.9351,9.8133);
    SetPlayerWorldBounds(playerid, 337.5694,101.5826,1940.9759,1798.7453); //285.3481,96.9720,1940.9755,1799.0811
    return 1;
    }
    if(MedicBill[playerid] == 1 && PlayerInfo[playerid][pJailed] == 0 && PlayerPaintballing[playerid] == 0)
    {
    MedicBill[playerid] = 0;
    MedicTime[playerid] = 0;
    NeedMedicTime[playerid] = 0;
    PlayerInfo[playerid][pDeaths] += 1;
    SetPlayerHealth(playerid, 75.0);
    }
    if(house !=255)
    {
    if(SpawnChange[playerid]) //If 1, then you get to your house, else spawn somewhere else
    {
    SetPlayerInterior(playerid,0);
    SetPlayerPos(playerid,HouseInfo[house][hEntrancex],HouseInfo[house][hEntrancey],HouseInfo[house][hEntrancez]);
    PlayerInfo[playerid][pInt] = 0;
    PlayerInfo[playerid][pLocal] = house;


    GivePlayerWeapons(playerid);
    //SetPlayerInterior(playerid,HouseInfo[house][hInt]);
    //SetPlayerPos(playerid, HouseInfo[house][hExitx], HouseInfo[house][hExity],HouseInfo[house][hExitz]); // Warp the player
    PlayerInfo[playerid][pLocal] = house;
    //PlayerInfo[playerid][pInt] = HouseInfo[house][hInt];
    //SetPlayerVirtualWorld(playerid,i);
    return 1;
    }
    }
    if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)// LS Police spawn
    {
    GivePlayerWeapons(playerid);
    SetPlayerPos(playerid, 1553.0665,-1694.6221,6.2188);
    SetPlayerInterior(playerid,0);
    PlayerInfo[playerid][pInt] = 0;
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2) //SF Police spawn
    {
    GivePlayerWeapons(playerid);
    SetPlayerPos(playerid, -1592.9088,715.7770,-5.2422);
    SetPlayerInterior(playerid,0);
    PlayerInfo[playerid][pInt] = 0;
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)//Army spawn
    {
    GivePlayerWeapons(playerid);
    SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -1336.0508,444.7277,7.1875);
    PlayerInfo[playerid][pInt] = 0;
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)//Fire/Ambulance spawn
    {
    GivePlayerWeapons(playerid);
    SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, 1130.9204,-1332.0925,13.5810);
    PlayerInfo[playerid][pInt] = 0;
    SetPlayerArmour(playerid,100);
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)//LCN spawn
    {
    GivePlayerWeapons(playerid);
    SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, 299.1069,-1155.2950,80.9099);
    SetPlayerFacingAngle(playerid,358.4079);
    PlayerInfo[playerid][pInt] = 0;
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)//Uzunu spawn
    {
    SetPlayerHealth(playerid, 100.0);
    SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, -2638.4224,1394.6447,7.1016);
    PlayerInfo[playerid][pInt] = 0;
    return 1;
    }
    if(PlayerInfo[playerid][pLeader] == 7)//Präsident spawn
    {
    GivePlayerWeapons(playerid);
    SetPlayerInterior(playerid, 5);
    SetPlayerPos(playerid,1274.9025,-792.1293,1089.9331);
    PlayerInfo[playerid][pInt] = 5;
    PlayerInfo[playerid][pLocal] = 241;
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8) //Hitman spawn
    {
    GivePlayerWeapons(playerid);
    SetPlayerInterior(playerid,0);
    SetPlayerPos(playerid, -688.0806,943.5139,13.6328);
    SetPlayerFacingAngle(playerid,2.8142);
    SetPlayerInterior(playerid,0);
    PlayerInfo[playerid][pInt] = 0;
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9) //News spawn
    {
    GivePlayerWeapons(playerid);
    SetPlayerPos(playerid, -2050.8962,460.0262,35.1719);
    SetPlayerInterior(playerid,0);
    PlayerInfo[playerid][pInt] = 0;
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) //Taxi spawn
    {
    GivePlayerWeapons(playerid);
    SetPlayerPos(playerid, -1967.6106,105.8539,151.5939);
    SetPlayerFacingAngle(playerid,2.8660);
    SetPlayerInterior(playerid,0);
    PlayerInfo[playerid][pInt] = 0;
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)//Fahrschule spawn
    {
    GivePlayerWeapons(playerid);
    SetPlayerInterior(playerid, 3);
    SetPlayerPos(playerid, -2032.9375,-117.0294,1035.1719);
    SetPlayerFacingAngle(playerid, 268.0652);
    PlayerInfo[playerid][pInt] = 3;
    return 1;
    }
    if (PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12)//A-Team spawn
    {
    GivePlayerWeapons(playerid);
    SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, 255.2038,-1366.5187,53.1094);
    PlayerInfo[playerid][pInt] = 0;
    return 1;
    }

    Servas,
    Ich hätte manen Problem.Ich Spawne immer in der GS oder in der Luft mit einer Flascheodereinen Joind in der Hand.
    Kann mirbitte wer helfen ?




    LG Tempic

    Hey,
    Kann mir wer Busshaltestellen in LS geben ?
    um erlich zu sein bin ich zufaul die jetzt zu mappen-
    Wäre einfacher wen die jemand hätte



    Danke


    MFG Tempic

    Desktop\GM41.pwn(8835) : error 037: invalid string (possibly non-terminated string)
    Desktop\GM41.pwn(8835) : error 029: invalid expression, assumed zero
    Desktop\GM41.pwn(8835) : error 029: invalid expression, assumed zero
    Desktop\GM41.pwn(8835) : fatal error 107: too many error messages on one line


    Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    4 Errors.




    /edit
    zeile 8835
    format(stringstat[0],128,"Level:[%d] Geschlecht:[%s] Alter:[%d] Spawn:[%s] SpawnHP:[%.1f] Geld:[$%d] Bankkonto:[$%d] Hn:[%d]\n

    hey,
    Mein Problem ist wen ich /stats mache wird es nur bis Hn angezeigt



    new stringstat[6][128], names[88], string[128];
    format(names, sizeof(names),"Stats von %s",name);
    format(stringstat[0],128,"Level:[%d] Geschlecht:[%s] Alter:[%d] Spawn:[%s] SpawnHP:[%.1f] Geld:[$%d] Bankkonto:[$%d] Hn:[%d]", level,atext,age,otext,shealth+50, cash, account, pnumber);
    format(stringstat[1],128,"Premium:[%s] Spielzeit seit Payday:[%s] Handyguthaben:[%s] Verheiratet:[%s] SpielStunden:[%d] LottoNr:[%d] Job:[%s]", drank,PaydayZ,HandyGuthaben,married,ptime,lotto,jtext);
    format(stringstat[2],128,"Gefangene Fische:[%d] Größter Fisch:[%d] Begangenen Verbrechen:[%d] Gefängniss Zeit:[%d] Wanted Tode:[%d]", fishes,bigfish,crimes,arrests,warrests );
    format(stringstat[3],128,"Kills:[%d] Tode:[%d] Nächster Level:[$%d] Respektpunkte:[%d/%d] WantedLevel:[%d] Familie:[%s]",kills,deaths,costlevel,exp,expamount,wanted,f2text);
    format(stringstat[4],128,"Drogen:[%d] Materials:[%d] SDrogen:[%d] SMaterials:[%d] Team:[%s] Krankheit:[%s] Organisation:[%s] Rank:[%s]",drugs,mats,drugss,matss,ttext,dtext,ftext,rtext);
    if (PlayerInfo[playerid][pAdmin] >= 1)
    {
    format(stringstat[5],128,"House key [%d] Business key [%d] int:[%d] local[%d]", housekey,bizkey,intir,local);
    }
    format(string,sizeof string,"%s\n%s\n%s\n%s\n%s\n%s",stringstat[0], stringstat[1], stringstat[2], stringstat[3], stringstat[4], stringstat[5]);
    ShowPlayerDialog(playerid,DIALOG_STYLE_MSGBOX,0,names,string,"Schließen","Schließen");


    }
    }



    wäre gut wen ihr mir helfen könntet


    MFG Tempic

    hallo wolte das FS in mein GM rein machen und habe ein error bekommen



    C:\Dokumente und Einstellungen\André.SLEIPNIR\Desktop\pawno\include\morphinc.inc(3) : warning 219: local variable "x2" shadows a variable at a preceding level
    C:\Dokumente und Einstellungen\André.SLEIPNIR\Desktop\pawno\include\morphinc.inc(3) : warning 219: local variable "y2" shadows a variable at a preceding level
    C:\Dokumente und Einstellungen\André.SLEIPNIR\Desktop\pawno\include\morphinc.inc(3) : warning 219: local variable "z2" shadows a variable at a preceding level
    C:\Dokumente und Einstellungen\André.SLEIPNIR\Desktop\pawno\include\Obj_LITE.inc(153) : warning 219: local variable "objects" shadows a variable at a preceding level
    C:\Dokumente und Einstellungen\André.SLEIPNIR\Desktop\pawno\include\Obj_LITE.inc(153) : warning 213: tag mismatch
    C:\Dokumente und Einstellungen\André.SLEIPNIR\Desktop\pawno\include\Obj_LITE.inc(153) : error 022: must be lvalue (non-constant)
    C:\Dokumente und Einstellungen\André.SLEIPNIR\Desktop\pawno\include\Obj_LITE.inc(153) : warning 204: symbol is assigned a value that is never used: "objects"
    C:\DOKUME~1\ANDR~1.SLE\Desktop\V351_B~1.PWN(210) : warning 201: redefinition of constant/macro (symbol "COLOR_ORANGE")
    C:\DOKUME~1\ANDR~1.SLE\Desktop\V351_B~1.PWN(1204) : warning 219: local variable "x2" shadows a variable at a preceding level
    C:\DOKUME~1\ANDR~1.SLE\Desktop\V351_B~1.PWN(1204) : warning 219: local variable "y2" shadows a variable at a preceding level
    C:\DOKUME~1\ANDR~1.SLE\Desktop\V351_B~1.PWN(1204) : warning 219: local variable "z2" shadows a variable at a preceding level
    C:\DOKUME~1\ANDR~1.SLE\Desktop\V351_B~1.PWN(40212) : warning 219: local variable "x2" shadows a variable at a preceding level
    C:\DOKUME~1\ANDR~1.SLE\Desktop\V351_B~1.PWN(40212) : warning 219: local variable "y2" shadows a variable at a preceding level
    C:\DOKUME~1\ANDR~1.SLE\Desktop\V351_B~1.PWN(40212) : warning 219: local variable "z2" shadows a variable at a preceding level
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    1 Error.