Beiträge von iGoD


    public OnPlayerSpawn(playerid)
    {


    SetCameraBehindPlayer(playerid);
    SetPlayerPos(playerid,1594.0269,-2275.2993,13.5302);
    SetPlayerFacingAngle(playerid, 6.4601);


    new playermoney = 10000 - GetPlayerMoney(playerid);
    GivePlayerMoney(playerid, playermoney);
    playercheckmoney[playerid] = 10000;


    IsPlayerInAutoHaus[playerid] = 0;
    ShowPlayerStat(playerid, 0);
    playerblitzer[playerid] = 0;
    updateobjwait[playerid] = 0;
    IsPlayerInAutoHaus[playerid] = 0;
    SetPlayerSkin(playerid, PlayerInfo[playerid][pskin]);
    playerincshop[playerid][ladentyp] = 0;
    SetPlayerVirtualWorld(playerid, 0);
    SetPlayerColor(playerid, 0xFFFFFF00);
    fahrstunde1[playerid] = 0;
    fahrstunde2[playerid] = 0;
    playerhandy[playerid] = -1;
    joboffer[playerid] = 0;
    urinieren[playerid] = 0;
    playernavyonline[playerid] = 0;
    playershowstatus[playerid] = 0;
    spritzen[playerid] = 0;
    selectedauftrag[playerid] = 0;
    PlayerInAuftrag[playerid] = 0;
    auftragszeit[playerid] = 0;
    IsPlayerInDrogenLife[playerid] = 0;
    playerplaykey[playerid] = 0;
    playerplaykeyinfo[playerid] = 0;
    PlayerInKontoLogged[playerid] = "-";
    fightready[playerid] = 0;
    infight[playerid] = -1;
    herausfordern[playerid] = -1;
    kampfsumme[playerid] = 0;
    playerlistento[playerid] = -1;
    gefesselt[playerid] = 0;
    PlayerGangArea[playerid] = -1;
    PlayerJailTransport[playerid] = 0;



    TextDrawHideForPlayer(playerid, kleidungkaufen[playerid]);
    TextDrawHideForPlayer(playerid, speedanzeige[playerid]);
    TextDrawHideForPlayer(playerid, autohaustext[playerid]);
    TextDrawHideForPlayer(playerid, tauftragannehmen[playerid]);
    TextDrawHideForPlayer(playerid, tplayerauftragtimer[playerid]);
    TextDrawHideForPlayer(playerid, kleidungkaufen[playerid]);
    TextDrawShowForPlayer(playerid, clock);
    TextDrawShowForPlayer(playerid, PlayerInfoLine[playerid]);
    TextDrawSetString(PlayerInfoLine[playerid],"Forum: http://www.german-reallife.org");
    TextDrawShowForPlayer(playerid, moneytextdraw[playerid]);


    setplayerweaponskills(playerid);


    for (new i; i < 100; i++)
    {
    unfreeze(playerid, i);
    }


    if (PlayerInfo[playerid][pjail] > 0)
    {
    SetPlayerPos(playerid, 1751.8683,-1558.9301,9.5716);
    } else {
    if (PlayerInfo[playerid][psp] == 1)
    {
    ShowMenuForPlayer(spawnmenu, playerid);
    freeze(playerid, 4);
    }
    }


    if (PlayerInfo[playerid][pStatus] == 0)
    {
    freeze(playerid, 4);
    SetPlayerVirtualWorld(playerid, playerid + 1);
    ShowMenuForPlayer(geschlechtauswahl, playerid);
    }


    if(!strcmp("Thisismadness", Nachname[playerid]))
    {
    new namensstring[256+1];
    format(namensstring,256,"Gib nun bitte deinen gewünschten Nachnamen ein:");
    ShowPlayerDialog(playerid,9,DIALOG_STYLE_INPUT,"Fusion BETA - Registrierung",namensstring,"Weiter","Abbrechen");
    }

    if(!strcmp("Thisismadness", Vorname[playerid]))
    {
    new namensstring[256+1];
    format(namensstring,256,"Gib nun bitte deinen gewünschten Vornamen ein:");
    ShowPlayerDialog(playerid,8,DIALOG_STYLE_INPUT,"Fusion BETA - Registrierung",namensstring,"Weiter","Abbrechen");
    }

    Hab mir gamemode fusion geladen und compilet alles ohne errors aber wenn ich tut machen und dann fertig bin kann ich mich nicht bewegen...
    was kann ich tun?

    Hab noch nichts drin außer paar commands und spawn etc und bin total anfänger..
    wie define ich SpielerInfo?
    oder ist da vorab defined?

    {
    new Text3D:label = Create3DTextLabel(">>Anfänger<<", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
    if(SpielerInfo[playerid][pLevel] <= 2)
    Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
    return 1;
    }




    Alles super :)
    Aber wie mache define ich SpielerInfo


    Bin noch anfänger sry


    public OnPlayerConnect(playerid)
    {
    new Text3D:label = Create3DTextLabel(">>Anfänger<<", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
    Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
    return 1;
    }


    Wie mache ich das,dass Bei Spielern nur bis lvl 2 steht? :o






    Ja war richtig aber würde gerne auch den warning weghaben...
    "warning 217: loose indentation"