Beiträge von Strikerr

    1. Ja Anticheat
    2. Hab grade alls durchgeguckt ist nix was mich bannt bei hohem Adminlevel
    3. Stark editiertes LoH :)



    Ja von was möchtest du denn den Code haben? :D

    Ich hab den Login also
    'ShowMainManuDialog' drin..
    Wenn ich das dann beim conecten abrufe kann ich mich nur einloggen.
    obwohl ich nicht registriert bin :D
    Und wenn ich mich einlogge Spawne ich nichts etc..
    Wenn ich dann auf Spawn klicke werde ich gekickt XD


    Zudem wird ein Timer gesetzt der 'Safelogin' abruft, da sind auch loginsachen drin, nur weiß ich nicht was genau. :D
    Und der Timer bringt auch nicht viel.. :D


    ShowMainMenuDialog

    ShowMainMenuDialog(playerid, frame)
    {
    new titlestring[64];
    new string[256];


    switch(frame)
    {
    case 1:
    {
    new ip[32];
    GetPlayerIp(playerid, ip, 32);
    format(titlestring, sizeof(titlestring), "Account Login - %s", GetPlayerNameEx(playerid));
    format(string, sizeof(string), "Welcome to servername %s.\n\nCurrent Version: "SERVER_GM_TEXT" || Latest Update: "LAST_UPDATE"\n\n IP Address: %s\n\nThis Account is registered, you may now login with the password", GetPlayerNameEx(playerid), ip);
    ShowPlayerDialog(playerid,MAINMENU,DIALOG_STYLE_PASSWORD,titlestring,string,"Play","Leave");
    }
    case 2:
    {
    new ip[32];
    GetPlayerIp(playerid, ip, 32);
    format(titlestring, sizeof(titlestring), "Account Registration - %s", GetPlayerNameEx(playerid));
    format(string, sizeof(string), "Welcome to Sillen Street Roleplay, %s.\n\nIP Address: %s\n\nYou may register an account by entering a desired password here:", GetPlayerNameEx(playerid), ip);
    ShowPlayerDialog(playerid,MAINMENU2,DIALOG_STYLE_PASSWORD,titlestring,string,"Register","Exit");
    }
    case 3:
    {
    new ip[32];
    GetPlayerIp(playerid, ip, 32);
    format(titlestring, sizeof(titlestring), "Login - %s", GetPlayerNameEx(playerid));
    format(string, sizeof(string), "Welcome to servername %s.\n\nCurrent Version: "SERVER_GM_TEXT" || Latest Update: "LAST_UPDATE"\n\n IP Address: %s\n\nThis Account is registered, you may now login with the password", GetPlayerNameEx(playerid), ip);
    ShowPlayerDialog(playerid,MAINMENU,DIALOG_STYLE_PASSWORD,titlestring,string,"Play","Leave");
    }
    }
    }


    Safelogin

    public SafeLogin(playerid)
    {


    // Main Menu Features.
    ShowMainMenuGUI(playerid);
    SetPlayerJoinCamera(playerid);
    ClearChatbox(playerid);
    SetPlayerVirtualWorld(playerid, 0);


    new playername[MAX_PLAYER_NAME];
    GetPlayerName(playerid, playername, sizeof(playername));
    if(doesAccountExist(playername))
    {
    gPlayerAccount[playerid] = 1;
    ShowMainMenuDialog(playerid, 1);
    return 1;
    }
    else
    {
    if( strfind( playername, "_", true) == -1 )
    {
    SendClientMessageEx( playerid, COLOR_WHITE, "Connection rejected. Please get a name in the correct format: Firstname_Lastname." );
    }
    else
    {
    gPlayerAccount[playerid] = 0;
    ShowMainMenuDialog(playerid, 2);
    }


    return 1;
    }
    }


    Hoppla :D



    public OnPlayerConnect(playerid)
    {
    // Crash Fix - GhoulSlayeR
    InvalidNameCheck(playerid);


    new playerIP[16];
    GetPlayerIp(playerid, playerIP, sizeof(playerIP));
    if (CheckBan(playerIP) == 1)
    {
    SetPlayerName(playerid, "BannedPlayer");
    SendClientMessage(playerid, COLOR_WHITE, "Connection Error: You are banned from this server.");
    Kick(playerid);
    return 1;
    }
    if(IsPlayerNPC(playerid)) return 1;
    TotalConnect++;
    PlayersConnected++;
    if(PlayersConnected > MaxPlayersConnected)
    {
    MaxPlayersConnected = PlayersConnected;
    gettime(MPHour,MPMinute);
    getdate(MPYear,MPMonth,MPDay);
    }
    if(MaxPlayersConnected > 500) MaxPlayersConnected = 500; // Temp goof fix
    SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 1);
    SetPlayerSkillLevel(playerid, WEAPONSKILL_MICRO_UZI, 1);
    scoreMusic[playerid] = -1;
    SetPVarInt(playerid, "FirstSpawn", 1);
    SetPVarInt(playerid, "IsInArena", -1);
    SetPVarInt(playerid, "ArenaNumber", -1);
    SetPVarInt(playerid, "ArenaEnterPass", -1);
    SetPVarInt(playerid, "ArenaEnterTeam", -1);
    SetPVarInt(playerid, "EditingTurfs", -1);
    SetPVarInt(playerid, "EditingTurfsStage", -1);
    SetPVarInt(playerid, "EditingHillStage", -1);
    SetPVarInt(playerid, "EditingFamC", -1);
    SetPVarInt(playerid, "editingcd", -1);
    SetPVarInt(playerid, "editingcdveh", -1);
    SetPVarInt(playerid, "editingfamhq", 255);
    SetPVarInt(playerid, "UsingSurfAttachedObject", -1);
    SetPVarInt(playerid, "UsingBriefAttachedObject", -1);
    SetPVarInt(playerid, "AOSlotPaintballFlag", -1);
    SetPVarInt(playerid, "MovingStretcher", -1);
    for(new i = 0; i < 3; i++)
    {
    StopaniFloats[playerid][i] = 0;
    }
    for(new i = 0; i < 6; i++)
    {
    EventFloats[playerid][i] = 0.0;
    }
    EventLastInt[playerid] = 0; EventLastVW[playerid] = 0;
    for(new i = 0; i < 6; i++)
    {
    HHcheckFloats[playerid][i] = 0;
    }
    HHcheckVW[playerid] = 0; HHcheckInt[playerid] = 0; OrderAssignedTo[playerid] = INVALID_PLAYER_ID; EnabledNames[playerid] = 1;
    LoadTruckBar[playerid] = INVALID_BAR_ID; LoadTruckTime[playerid] = 0; TruckDeliver[playerid] = 0; TruckUsed[playerid] = INVALID_VEHICLE_ID;
    RefuelingVehicle[playerid] = 0; FuelBar[playerid] = INVALID_BAR_ID;
    RefuelingVehiclePrice[playerid] = 0; HouseOffer[playerid] = 999; House[playerid] = 0; HousePrice[playerid] = 0;
    SetPVarInt( playerid, "InHouse", INVALID_HOUSE_ID );
    SetPVarInt(playerid, "shrequest", INVALID_PLAYER_ID); PlayerInfo[playerid][pBanAppealer] = 0; PlayerInfo[playerid][pShopTech] = 0; PlayerInfo[playerid][pUndercover] = 0; PlayerInfo[playerid][pTogReports] = 0;
    format(PlayerInfo[playerid][pAutoTextReply], 64, "Nothing"); playerTabbedTime[playerid] = 0; playerTabbed[playerid] = 0; playerAFKTime[playerid] = 0; playerAFK[playerid] = 0;
    gActivePlayers[playerid]++; WantedPoints[playerid] = 0; gBug[playerid] = 1; gBugSIU[playerid] = 1; TazerTimeout[playerid] = 0; gRadio[playerid] = 1; playerLastTyped[playerid] = 0; SetPlayerWantedLevel(playerid, 0); pTazer[playerid] = 0; pTazerReplace[playerid] = 0; pCurrentWeapon[playerid] = 0;
    MedicAccepted[playerid] = 999; DefendOffer[playerid] = 999; AppealOffer[playerid] = 999; AppealOfferAccepted[playerid] = 0; PlayerInfo[playerid][pWantedLevel] = 0;
    DefendPrice[playerid] = 0; Spectating[playerid] = 0; GettingSpectated[playerid] = 999; PlayerInfo[playerid][pPhonePrivacy] = 0;
    NewbieTimer[playerid] = 0; HlKickTimer[playerid] = 0; HelperTimer[playerid] = 0; VIPTimer[playerid] = 0; PlayerInfo[playerid][pLock] = 0; PlayerInfo[playerid][pLockCar] = INVALID_VEHICLE_ID;
    numplayers++; PlayerInfo[playerid][pAccent] = 0; ConsumingMoney[playerid] = 0; VehicleOffer[playerid] = 999; //Frozen[playerid] = 0;
    VehiclePrice[playerid] = 0; VehicleId[playerid] = -1; NOPTrigger[playerid] = 0;
    JustReported[playerid] = -1; UsedCrack[playerid] = 0; UsedWeed[playerid] = 0; SexOffer[playerid] = 999; DrinkOffer[playerid] = INVALID_PLAYER_ID;
    PotOffer[playerid] = 999; CrackOffer[playerid] = 999; HasBoughtMask[playerid] = 0; GunOffer[playerid] = 999; CraftOffer[playerid] = 999; RepairOffer[playerid] = 999;
    GuardOffer[playerid] = 999; LiveOffer[playerid] = 999;
    RefillOffer[playerid] = 999;
    MatsOffer[playerid] = 999; MatsPrice[playerid] = 0; MatsAmount[playerid] = 0;
    BoxOffer[playerid] = 999; MarryWitnessOffer[playerid] = 999; ProposeOffer[playerid] = 999; DivorceOffer[playerid] = 999;
    SelectChar[playerid] = 0; HidePM[playerid] = 0; PhoneOnline[playerid] = 0;
    advisorchat[playerid] = 1; PlayerInfo[playerid][pVIPInviteDay] = 0; PlayerInfo[playerid][pTempVIP] = 0; PlayerInfo[playerid][pBuddyInvited] = 0;
    SelectCharID[playerid] = 0; SelectCharPlace[playerid] = 0; ChosenSkin[playerid] = 0;
    SelectFChar[playerid] = 0; MatsHolding[playerid] = 0; MatDeliver[playerid] = 0; MatDeliver2[playerid] = 0;
    SelectFCharID[playerid] = 0; SelectFCharPlace[playerid] = 0; PlayerInfo[playerid][pTokens] = 0; PlayerInfo[playerid][pPaintTokens] = 0;
    GettingJob[playerid] = 0; GettingJob2[playerid] = 0; GuardOffer[playerid] = 999; GuardPrice[playerid] = 0; PlayerInfo[playerid][pCSFBanned] = 0;
    ApprovedLawyer[playerid] = 0; CallLawyer[playerid] = 0; WantLawyer[playerid] = 0; PlayerInfo[playerid][pFactionBanned] = 0;
    PlayerInfo[playerid][pGangWarn] = 0; CurrentMoney[playerid] = 0; UsedFind[playerid] = 0; PlayerInfo[playerid][pTriageTime] = 0;
    PlayerInfo[playerid][pCigar] = 0; PlayerInfo[playerid][pSprunk] = 0; PlayerInfo[playerid][pSpraycan] = 0;
    CP[playerid] = 0; Robbed[playerid] = 0; SpawnChange[playerid] = 1; PlayerInfo[playerid][pPot] = 0;
    RobbedTime[playerid] = 0; MoneyMessage[playerid] = 0; Condom[playerid] = 0; PlayerInfo[playerid][pCrack] = 0;
    STDPlayer[playerid] = 0; SexOffer[playerid] = 999; SexPrice[playerid] = 0; PlayerInfo[playerid][pC4] = 0; PlayerInfo[playerid][pAdmin] = 0;
    RepairOffer[playerid] = 999; RepairPrice[playerid] = 0; RepairCar[playerid] = 0; PlayerInfo[playerid][pHelper] = 0;
    TalkingLive[playerid] = INVALID_PLAYER_ID; LiveOffer[playerid] = 999; TakingLesson[playerid] = 0;
    RefillOffer[playerid] = 999; RefillPrice[playerid] = 0;InsideShamal[playerid] = INVALID_VEHICLE_ID; InsideMainMenu[playerid] = 0; InsideTut[playerid] = 0;
    PlayerInfo[playerid][pToggedVIPChat] = 0;
    PotOffer[playerid] = 999; CrackOffer[playerid] = 999; PlayerCuffed[playerid] = 0; PlayerCuffedTime[playerid] = 0;
    PotPrice[playerid] = 0; CrackPrice[playerid] = 0; RegistrationStep[playerid] = 0;
    PotGram[playerid] = 0; CrackGram[playerid] = 0; PlayerInfo[playerid][pBanned] = 0; ConnectedToPC[playerid] = 0; OrderReady[playerid] = 0;
    GunId[playerid] = 0; GunMats[playerid] = 0; CraftId[playerid] = 0; CraftMats[playerid] = 0; PlayerInfo[playerid][pFactionModerator] = 0; PlayerInfo[playerid][pGangModerator] = 0;
    HitOffer[playerid] = 999; HitToGet[playerid] = 999; PlayerInfo[playerid][pCrack] = 0; PlayerInfo[playerid][pKills] = 0; PlayerInfo[playerid][pDMKills] = 0;
    PlayerInfo[playerid][pOrder] = 0; PlayerInfo[playerid][pOBlocked] = 0;
    InviteOffer[playerid] = 999; InviteFaction[playerid] = 0; InviteFamily[playerid] = 255; PlayerInfo[playerid][pSpeakerPhone] = 0;
    hInviteHouse[playerid] = INVALID_HOUSE_ID; hInviteOffer[playerid] = 999; hInviteSlot[playerid] = 0; PlayerInfo[playerid][pDeaths] = 0;
    JailPrice[playerid] = 0; MedicTime[playerid] = 0; NeedMedicTime[playerid] = 0; GotHit[playerid] = 0;
    WantedPoints[playerid] = 0; GoChase[playerid] = 999; GetChased[playerid] = 999; PlacedNews[playerid] = 0;
    OnDuty[playerid] = 0; TestFishes[playerid] = 0; CalledCops[playerid] = 0; CopsCallTime[playerid] = 0;
    BoxWaitTime[playerid] = 0; SchoolSpawn[playerid] = 0; ChangePos2[playerid][1] = 0; CalledMedics[playerid] = 0;
    SafeTime[playerid] = 60; TransportDuty[playerid] = 0; PlayerTied[playerid] = 0; MedicsCallTime[playerid] = 0;
    BusCallTime[playerid] = 0; TaxiCallTime[playerid] = 0; EMSCallTime[playerid] = 0; MedicCallTime[playerid] = 0; MechanicCallTime[playerid] = 0;
    FindTimePoints[playerid] = 0; FindingPlayer[playerid]=-1; FindTime[playerid] = 0; JobDuty[playerid] = 0;
    Mobile[playerid] = INVALID_PLAYER_ID; Music[playerid] = 0; BoxOffer[playerid] = 999; PlayerBoxing[playerid] = 0;
    Spectate[playerid] = 999; PlayerDrunk[playerid] = 0; PlayerDrunkTime[playerid] = 0; format(PlayerInfo[playerid][pPrisonReason], 128, "None");
    Unspec[playerid][sLocal] = INVALID_PLAYER_ID; FishCount[playerid] = 0; format(PlayerInfo[playerid][pPrisonedBy], 24, "None"); format(PlayerInfo[playerid][pFlag], 128, "");
    HelpingNewbie[playerid] = 999; turfWarsRadar[playerid] = 0; courtjail[playerid] = 0;
    gLastCar[playerid] = 0; FirstSpawn[playerid] = 0; JetPack[playerid] = 0; PlayerInfo[playerid][pKills] = 0; PlayerInfo[playerid][pPaintTeam] = 0;
    TextSpamTimes[playerid] = 0;
    TextSpamUnmute[playerid] = 0;
    CommandSpamTimes[playerid] = 0;
    CommandSpamUnmute[playerid] = 0;
    gOoc[playerid] = 0;
    arr_Towing[playerid] = INVALID_VEHICLE_ID;
    gNews[playerid] = 0;
    gNewbie[playerid] = 1;
    gHelp[playerid] = 1;
    BigEar[playerid] = 0;
    gFam[playerid] = 0;
    gPlayerLogged{playerid} = 0;
    gPlayerLogTries[playerid] = 0;
    gPlayerAccount[playerid] = 0;
    gPlayerSpawned[playerid] = 0;
    PlayerTazeTime[playerid] = 0;
    PlayerStoned[playerid] = 0;
    PlayerInfo[playerid][pPot] = 0;
    StartTime[playerid] = 0;
    TicketOffer[playerid] = 999;
    TicketMoney[playerid] = 0;
    PlayerInfo[playerid][pVehicleKeysFrom] = INVALID_PLAYER_ID;
    ActiveChatbox[playerid] = 1;
    TutStep[playerid] = 0;
    PlayerInfo[playerid][pPermaBanned] = 0;
    PlayerInfo[playerid][pVehicleKeys] = INVALID_PLAYER_VEHICLE_ID;
    TaxiAccepted[playerid] = 999;
    EMSAccepted[playerid] = 999;
    BusAccepted[playerid] = 999;
    PlayerInfo[playerid][pCrack] = 0;
    GPSTimer[playerid] = 0;
    HaveGPS[playerid] = false;
    HireCar[playerid] = 299;
    TransportValue[playerid] = 0;
    TransportMoney[playerid] = 0;
    TransportTime[playerid] = 0;
    TransportCost[playerid] = 0;
    TransportDriver[playerid] = 999;
    Locator[playerid] = 0;
    Spectating[playerid] = 0;
    ReleasingMenu[playerid] = INVALID_PLAYER_ID;
    Fishes[playerid][pLastFish] = 0;
    Fishes[playerid][pFishID] = 0;
    ProposeOffer[playerid] = 999;
    MarryWitness[playerid] = 999;
    MarryWitnessOffer[playerid] = 999;
    MarriageCeremoney[playerid] = 0;
    ProposedTo[playerid] = 999;
    GotProposedBy[playerid] = 999;
    DivorceOffer[playerid] = 999;
    gBike[playerid] = 0;
    gBikeRenting[playerid] = 0;
    stationidp[playerid] = 0;
    Fixr[playerid] = 0;
    slotselection[playerid] = 0;
    PlayerInfo[playerid][pLevel] = 1;
    PlayerInfo[playerid][pAdmin] = 0;
    PlayerInfo[playerid][pBanned] = 0;
    PlayerInfo[playerid][pDisabled] = 0;
    PlayerInfo[playerid][pMuted] = 0;
    PlayerInfo[playerid][pRMuted] = 0;
    PlayerInfo[playerid][pRMutedTotal] = 0;
    PlayerInfo[playerid][pRMutedTime] = 0;
    PlayerInfo[playerid][pNMute] = 0;
    PlayerInfo[playerid][pNMuteTotal] = 0;
    PlayerInfo[playerid][pADMute] = 0;
    PlayerInfo[playerid][pADMuteTotal] = 0;
    PlayerInfo[playerid][pHelpMute] = 0;
    PlayerInfo[playerid][pVMutedTime] = 0;
    PlayerInfo[playerid][pVMuted] = 0;
    PlayerInfo[playerid][pRadio] = 0;
    PlayerInfo[playerid][pRadioFreq] = 0;
    PlayerInfo[playerid][pPermaBanned] = 0;
    PlayerInfo[playerid][pDonateRank] = 0;
    PlayerInfo[playerid][gPupgrade] = 0;
    PlayerInfo[playerid][pConnectTime] = 0;
    PlayerInfo[playerid][pReg] = 0;
    PlayerInfo[playerid][pSex] = 0;
    PlayerInfo[playerid][pbuyBoombox] = 0;
    PlayerInfo[playerid][pAlreadyBoombox] = 0;
    PlayerInfo[playerid][pAge] = 0;
    PlayerInfo[playerid][pOrigin] = 0;
    PlayerInfo[playerid][pExp] = 0;
    PlayerInfo[playerid][pAccount] = 0;
    PlayerInfo[playerid][pCrimes] = 0;
    PlayerInfo[playerid][pDeaths] = 0;
    PlayerInfo[playerid][pArrested] = 0;
    PlayerInfo[playerid][pWantedDeaths] = 0;
    PlayerInfo[playerid][pPhoneBook] = 0;
    PlayerInfo[playerid][pLottoNr] = 0;
    PlayerInfo[playerid][pFishes] = 0;
    PlayerInfo[playerid][pBiggestFish] = 0;
    PlayerInfo[playerid][pJob] = 0;
    PlayerInfo[playerid][pJob2] = 0;
    PlayerInfo[playerid][pPayCheck] = 0;
    PlayerInfo[playerid][pHeadValue] = 0;
    PlayerInfo[playerid][pJailed] = 0;
    PlayerInfo[playerid][pJailTime] = 0;
    PlayerInfo[playerid][pWRestricted] = 0;
    PlayerInfo[playerid][pMats] = 0;
    PlayerInfo[playerid][pMask] = 0;
    PlayerInfo[playerid][pbuyBoombox] = 0;
    PlayerInfo[playerid][pAlreadyBoombox] = 0;
    PlayerInfo[playerid][pLeader] = 0;
    PlayerInfo[playerid][pMember] = 0;
    PlayerInfo[playerid][pDivision] = 0;
    PlayerInfo[playerid][pFMember] = 255;
    PlayerInfo[playerid][pRank] = 0;
    PlayerInfo[playerid][pChar] = 0;
    PlayerInfo[playerid][pRenting] = INVALID_HOUSE_ID;
    PlayerInfo[playerid][pDetSkill] = 0;
    PlayerInfo[playerid][pSexSkill] = 0;
    PlayerInfo[playerid][pBoxSkill] = 0;
    PlayerInfo[playerid][pLawSkill] = 0;
    PlayerInfo[playerid][pMechSkill] = 0;
    PlayerInfo[playerid][pJackSkill] = 0;
    PlayerInfo[playerid][pCarSkill] = 0;
    PlayerInfo[playerid][pTruckSkill] = 0;
    PlayerInfo[playerid][pNewsSkill] = 0;
    PlayerInfo[playerid][pDrugsSkill] = 0;
    PlayerInfo[playerid][pArmsSkill] = 0;
    PlayerInfo[playerid][pSmugSkill] = 0;
    PlayerInfo[playerid][pCookSkill] = 0;
    PlayerInfo[playerid][pFishSkill] = 0;
    PlayerInfo[playerid][pSHealth] = 0.0;
    PlayerInfo[playerid][pSArmor] = 0.0;
    PlayerInfo[playerid][pHealth] = 50.0;
    PlayerInfo[playerid][pLocal] = 255;
    PlayerInfo[playerid][pTeam] = 3;
    PlayerInfo[playerid][pCheckCash] = 0;
    PlayerInfo[playerid][pChecks] = 0;
    PlayerInfo[playerid][pWExists] = 0;
    PlayerInfo[playerid][pWX] = 0;
    PlayerInfo[playerid][pWY] = 0;
    PlayerInfo[playerid][pWZ] = 0;
    PlayerInfo[playerid][pWVW] = 0;
    PlayerInfo[playerid][pWInt] = 0;
    PlayerInfo[playerid][pWValue] = -1;
    PlayerInfo[playerid][pWTimer] = -1;
    PlayerInfo[playerid][pWSeeds] = 0;
    format(PlayerInfo[playerid][pWarrant], 128, "");
    format(PlayerInfo[playerid][pDMReport9], 63, "");
    format(PlayerInfo[playerid][pDMReport8], 63, "");
    format(PlayerInfo[playerid][pDMReport7], 63, "");
    format(PlayerInfo[playerid][pDMReport6], 63, "");
    format(PlayerInfo[playerid][pDMReport5], 63, "");
    format(PlayerInfo[playerid][pDMReport4], 63, "");
    format(PlayerInfo[playerid][pDMReport3], 63, "");
    format(PlayerInfo[playerid][pDMReport2], 63, "");
    format(PlayerInfo[playerid][pDMReport1], 63, "");
    format(PlayerInfo[playerid][pDMReport0], 63, "");
    format(PlayerInfo[playerid][pContractBy], 32, "");
    format(PlayerInfo[playerid][pContractDetail], 64, "");
    PlayerInfo[playerid][pJudgeJailTime] = 0;
    PlayerInfo[playerid][pJudgeJailType] = 0;
    PlayerInfo[playerid][pBeingSentenced] = 0;
    PlayerInfo[playerid][pProbationTime] = 0;
    PlayerInfo[playerid][pDMIndicators] = 0;
    PlayerInfo[playerid][pModel] = 299;
    //new randphone = 1000 + random(8999);
    PlayerInfo[playerid][pPnumber] = 0;
    PlayerInfo[playerid][pPhousekey] = INVALID_HOUSE_ID;
    PlayerInfo[playerid][pPhousekey2] = INVALID_HOUSE_ID;
    PlayerInfo[playerid][pCarLic] = 1;
    PlayerInfo[playerid][pFlyLic] = 0;
    PlayerInfo[playerid][pBoatLic] = 1;
    PlayerInfo[playerid][pFishLic] = 1;
    PlayerInfo[playerid][pGunLic] = 1;
    PlayerInfo[playerid][pTaxiLicense] = 0;
    PlayerInfo[playerid][pBugged] = 0;
    PlayerInfo[playerid][pCallsAccepted] = 0;
    PlayerInfo[playerid][pPatientsDelivered] = 0;
    PlayerInfo[playerid][pLiveBanned] = 0;
    PlayerInfo[playerid][pFreezeBank] = 0;
    PlayerInfo[playerid][pScope] = 0;
    PlayerInfo[playerid][pHasRefund] = 0;
    for(new v = 0; v < MAX_PLAYERVEHICLES; v++)
    {
    PlayerVehicleInfo[playerid][v][pvModelId] = 0;
    PlayerVehicleInfo[playerid][v][pvPosX] = 0.0;
    PlayerVehicleInfo[playerid][v][pvPosY] = 0.0;
    PlayerVehicleInfo[playerid][v][pvPosZ] = 0.0;
    PlayerVehicleInfo[playerid][v][pvPosAngle] = 0.0;
    PlayerVehicleInfo[playerid][v][pvLock] = 0;
    PlayerVehicleInfo[playerid][v][pvLocked] = 0;
    PlayerVehicleInfo[playerid][v][pvPaintJob] = -1;
    PlayerVehicleInfo[playerid][v][pvColor1] = 0;
    PlayerVehicleInfo[playerid][v][pvImpounded] = 0;
    PlayerVehicleInfo[playerid][v][pvColor2] = 0;
    PlayerVehicleInfo[playerid][v][pvPrice] = 0;
    PlayerVehicleInfo[playerid][v][pvTicket] = 0;
    PlayerVehicleInfo[playerid][v][pvWeapons][0] = 0;
    PlayerVehicleInfo[playerid][v][pvWeapons][1] = 0;
    PlayerVehicleInfo[playerid][v][pvWeapons][2] = 0;
    PlayerVehicleInfo[playerid][v][pvWepUpgrade] = 0;
    PlayerVehicleInfo[playerid][v][pvFuel] = 100.0;
    //format(PlayerVehicleInfo[playerid][v][pvNumberPlate], 32, "NG31 {FF0000}F7W"); // Numeric attempt for "NGG FTW" with extra spaces.
    strcpy(PlayerVehicleInfo[playerid][v][pvAllowPlayer], "No-ne", MAX_PLAYER_NAME);
    PlayerVehicleInfo[playerid][v][pvAllowedPlayerId] = INVALID_PLAYER_ID;
    PlayerVehicleInfo[playerid][v][pvPark] = 0;
    ListItemReleaseId[playerid][v] = -1;
    ListItemTrackId[playerid][v] = -1;
    for(new m = 0; m < MAX_MODS; m++)
    {
    PlayerVehicleInfo[playerid][v][pvMods][m] = 0;
    }
    }
    for(new v = 0; v < MAX_PLAYERTOYS; v++)
    {
    PlayerToyInfo[playerid][v][ptModelID] = 0;
    PlayerToyInfo[playerid][v][ptBone] = 0;
    PlayerToyInfo[playerid][v][ptPosX] = 0.0;
    PlayerToyInfo[playerid][v][ptPosY] = 0.0;
    PlayerToyInfo[playerid][v][ptPosZ] = 0.0;
    PlayerToyInfo[playerid][v][ptRotX] = 0.0;
    PlayerToyInfo[playerid][v][ptRotY] = 0.0;
    PlayerToyInfo[playerid][v][ptRotZ] = 0.0;
    PlayerToyInfo[playerid][v][ptScaleX] = 1.0;
    PlayerToyInfo[playerid][v][ptScaleY] = 1.0;
    PlayerToyInfo[playerid][v][ptScaleZ] = 1.0;
    }
    for(new s = 0; s < 12; s++)
    {
    PlayerInfo[playerid][pAGuns][s] = 0;
    PlayerInfo[playerid][pGuns][s] = 0;
    }
    for(new s = 0; s < 40; s++)
    {
    ListItemReportId[playerid][s] = -1;
    }
    CancelReport[playerid] = -1;
    GiveKeysTo[playerid] = INVALID_PLAYER_ID;
    PlayerInfo[playerid][pCarTime] = 0;
    PlayerInfo[playerid][pPayDay] = 0;
    PlayerInfo[playerid][pPayDayHad] = 0;
    PlayerInfo[playerid][pCDPlayer] = 0;
    PlayerInfo[playerid][pWins] = 0;
    PlayerInfo[playerid][pLoses] = 0;
    PlayerInfo[playerid][pAlcoholPerk] = 0;
    PlayerInfo[playerid][pDrugPerk] = 0;
    PlayerInfo[playerid][pMiserPerk] = 0;
    PlayerInfo[playerid][pPainPerk] = 0;
    PlayerInfo[playerid][pTraderPerk] = 0;
    PlayerInfo[playerid][pTut] = 0;
    PlayerInfo[playerid][pWarns] = 0;
    PlayerInfo[playerid][pRope] = 0;
    PlayerInfo[playerid][pDice] = 0;
    PlayerInfo[playerid][pScrewdriver] = 0;
    PlayerInfo[playerid][pAdjustable] = 0;
    PlayerInfo[playerid][pWantedLevel] = 0;
    PlayerInfo[playerid][pInsurance] = 0;
    PlayerInfo[playerid][pDutyHours] = 0;
    PlayerInfo[playerid][pAcceptedHelp] = 0;
    PlayerInfo[playerid][pAcceptReport] = 0;
    PlayerInfo[playerid][pTrashReport] = 0;
    PlayerInfo[playerid][pGiftTime] = 0;
    PlayerInfo[playerid][pTicketTime] = 0;
    PlayerInfo[playerid][pServiceTime] = 0;
    PlayerInfo[playerid][pFirework] = 0;
    RocketExplosions[playerid] = -1;
    ClearCrime(playerid);
    ClearFishes(playerid);
    ClearCooking(playerid);
    ClearGroceries(playerid);
    ClearMarriage(playerid);
    SetPlayerColor(playerid,TEAM_HIT_COLOR);
    SendClientMessageEx(playerid, COLOR_WHITE, "{25FF00}SERVER: {FFFFFF}Welcome to servername" );
    SendClientMessageEx(playerid, COLOR_YELLOW, "{25FF00}SERVER: {FFFFFF}Community Owner: Mr.Chopper & James" );
    SendClientMessageEx(playerid, COLOR_YELLOW, "{25FF00}SERVER: {FFFFFF}Community Scripter: Mr.Chopper" );
    SendClientMessageEx(playerid, COLOR_YELLOW, "{25FF00}SERVER: {FFFFFF}Loading Gamemode please wait, it will take few seconds....." );
    SetTimerEx("SafeLogin", 1000, 0, "d", playerid);
    SyncPlayerTime(playerid);
    new string[128];
    //format(string, sizeof(string), "%s has Joined the Simple Life Roleplay.", GetPlayerNameEx(playerid));
    foreach(Player, i) {
    if(PlayerInfo[i][pHelper] >= 2 || PlayerInfo[i][pAdmin] >= 1) {
    if(!togJoin[i]) {
    SendClientMessage(i, TEAM_AZTECAS_COLOR, string);
    }
    }
    }
    }

    public OnPlayerConnect(playerid){ // Crash Fix - GhoulSlayeR InvalidNameCheck(playerid);
    new playerIP[16]; GetPlayerIp(playerid, playerIP, sizeof(playerIP)); if (CheckBan(playerIP) == 1) { SetPlayerName(playerid, "BannedPlayer"); SendClientMessage(playerid, COLOR_WHITE, "Connection Error: You are banned from this server."); Kick(playerid); return 1; } if(IsPlayerNPC(playerid)) return 1; TotalConnect++; PlayersConnected++; if(PlayersConnected > MaxPlayersConnected) { MaxPlayersConnected = PlayersConnected; gettime(MPHour,MPMinute); getdate(MPYear,MPMonth,MPDay); } if(MaxPlayersConnected > 500) MaxPlayersConnected = 500; // Temp goof fix SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 1); SetPlayerSkillLevel(playerid, WEAPONSKILL_MICRO_UZI, 1); scoreMusic[playerid] = -1; SetPVarInt(playerid, "FirstSpawn", 1); SetPVarInt(playerid, "IsInArena", -1); SetPVarInt(playerid, "ArenaNumber", -1); SetPVarInt(playerid, "ArenaEnterPass", -1); SetPVarInt(playerid, "ArenaEnterTeam", -1); SetPVarInt(playerid, "EditingTurfs", -1); SetPVarInt(playerid, "EditingTurfsStage", -1); SetPVarInt(playerid, "EditingHillStage", -1); SetPVarInt(playerid, "EditingFamC", -1); SetPVarInt(playerid, "editingcd", -1); SetPVarInt(playerid, "editingcdveh", -1); SetPVarInt(playerid, "editingfamhq", 255); SetPVarInt(playerid, "UsingSurfAttachedObject", -1); SetPVarInt(playerid, "UsingBriefAttachedObject", -1); SetPVarInt(playerid, "AOSlotPaintballFlag", -1); SetPVarInt(playerid, "MovingStretcher", -1); for(new i = 0; i < 3; i++) { StopaniFloats[playerid][i] = 0; } for(new i = 0; i < 6; i++) { EventFloats[playerid][i] = 0.0; } EventLastInt[playerid] = 0; EventLastVW[playerid] = 0; for(new i = 0; i < 6; i++) { HHcheckFloats[playerid][i] = 0; } HHcheckVW[playerid] = 0; HHcheckInt[playerid] = 0; OrderAssignedTo[playerid] = INVALID_PLAYER_ID; EnabledNames[playerid] = 1; LoadTruckBar[playerid] = INVALID_BAR_ID; LoadTruckTime[playerid] = 0; TruckDeliver[playerid] = 0; TruckUsed[playerid] = INVALID_VEHICLE_ID; RefuelingVehicle[playerid] = 0; FuelBar[playerid] = INVALID_BAR_ID; RefuelingVehiclePrice[playerid] = 0; HouseOffer[playerid] = 999; House[playerid] = 0; HousePrice[playerid] = 0; SetPVarInt( playerid, "InHouse", INVALID_HOUSE_ID ); SetPVarInt(playerid, "shrequest", INVALID_PLAYER_ID); PlayerInfo[playerid][pBanAppealer] = 0; PlayerInfo[playerid][pShopTech] = 0; PlayerInfo[playerid][pUndercover] = 0; PlayerInfo[playerid][pTogReports] = 0; format(PlayerInfo[playerid][pAutoTextReply], 64, "Nothing"); playerTabbedTime[playerid] = 0; playerTabbed[playerid] = 0; playerAFKTime[playerid] = 0; playerAFK[playerid] = 0; gActivePlayers[playerid]++; WantedPoints[playerid] = 0; gBug[playerid] = 1; gBugSIU[playerid] = 1; TazerTimeout[playerid] = 0; gRadio[playerid] = 1; playerLastTyped[playerid] = 0; SetPlayerWantedLevel(playerid, 0); pTazer[playerid] = 0; pTazerReplace[playerid] = 0; pCurrentWeapon[playerid] = 0; MedicAccepted[playerid] = 999; DefendOffer[playerid] = 999; AppealOffer[playerid] = 999; AppealOfferAccepted[playerid] = 0; PlayerInfo[playerid][pWantedLevel] = 0; DefendPrice[playerid] = 0; Spectating[playerid] = 0; GettingSpectated[playerid] = 999; PlayerInfo[playerid][pPhonePrivacy] = 0; NewbieTimer[playerid] = 0; HlKickTimer[playerid] = 0; HelperTimer[playerid] = 0; VIPTimer[playerid] = 0; PlayerInfo[playerid][pLock] = 0; PlayerInfo[playerid][pLockCar] = INVALID_VEHICLE_ID; numplayers++; PlayerInfo[playerid][pAccent] = 0; ConsumingMoney[playerid] = 0; VehicleOffer[playerid] = 999; //Frozen[playerid] = 0; VehiclePrice[playerid] = 0; VehicleId[playerid] = -1; NOPTrigger[playerid] = 0; JustReported[playerid] = -1; UsedCrack[playerid] = 0; UsedWeed[playerid] = 0; SexOffer[playerid] = 999; DrinkOffer[playerid] = INVALID_PLAYER_ID; PotOffer[playerid] = 999; CrackOffer[playerid] = 999; HasBoughtMask[playerid] = 0; GunOffer[playerid] = 999; CraftOffer[playerid] = 999; RepairOffer[playerid] = 999; GuardOffer[playerid] = 999; LiveOffer[playerid] = 999; RefillOffer[playerid] = 999; MatsOffer[playerid] = 999; MatsPrice[playerid] = 0; MatsAmount[playerid] = 0; BoxOffer[playerid] = 999; MarryWitnessOffer[playerid] = 999; ProposeOffer[playerid] = 999; DivorceOffer[playerid] = 999; SelectChar[playerid] = 0; HidePM[playerid] = 0; PhoneOnline[playerid] = 0; advisorchat[playerid] = 1; PlayerInfo[playerid][pVIPInviteDay] = 0; PlayerInfo[playerid][pTempVIP] = 0; PlayerInfo[playerid][pBuddyInvited] = 0; SelectCharID[playerid] = 0; SelectCharPlace[playerid] = 0; ChosenSkin[playerid] = 0; SelectFChar[playerid] = 0; MatsHolding[playerid] = 0; MatDeliver[playerid] = 0; MatDeliver2[playerid] = 0; SelectFCharID[playerid] = 0; SelectFCharPlace[playerid] = 0; PlayerInfo[playerid][pTokens] = 0; PlayerInfo[playerid][pPaintTokens] = 0; GettingJob[playerid] = 0; GettingJob2[playerid] = 0; GuardOffer[playerid] = 999; GuardPrice[playerid] = 0; PlayerInfo[playerid][pCSFBanned] = 0; ApprovedLawyer[playerid] = 0; CallLawyer[playerid] = 0; WantLawyer[playerid] = 0; PlayerInfo[playerid][pFactionBanned] = 0; PlayerInfo[playerid][pGangWarn] = 0; CurrentMoney[playerid] = 0; UsedFind[playerid] = 0; PlayerInfo[playerid][pTriageTime] = 0; PlayerInfo[playerid][pCigar] = 0; PlayerInfo[playerid][pSprunk] = 0; PlayerInfo[playerid][pSpraycan] = 0; CP[playerid] = 0; Robbed[playerid] = 0; SpawnChange[playerid] = 1; PlayerInfo[playerid][pPot] = 0; RobbedTime[playerid] = 0; MoneyMessage[playerid] = 0; Condom[playerid] = 0; PlayerInfo[playerid][pCrack] = 0; STDPlayer[playerid] = 0; SexOffer[playerid] = 999; SexPrice[playerid] = 0; PlayerInfo[playerid][pC4] = 0; PlayerInfo[playerid][pAdmin] = 0; RepairOffer[playerid] = 999; RepairPrice[playerid] = 0; RepairCar[playerid] = 0; PlayerInfo[playerid][pHelper] = 0; TalkingLive[playerid] = INVALID_PLAYER_ID; LiveOffer[playerid] = 999; TakingLesson[playerid] = 0; RefillOffer[playerid] = 999; RefillPrice[playerid] = 0;InsideShamal[playerid] = INVALID_VEHICLE_ID; InsideMainMenu[playerid] = 0; InsideTut[playerid] = 0; PlayerInfo[playerid][pToggedVIPChat] = 0; PotOffer[playerid] = 999; CrackOffer[playerid] = 999; PlayerCuffed[playerid] = 0; PlayerCuffedTime[playerid] = 0; PotPrice[playerid] = 0; CrackPrice[playerid] = 0; RegistrationStep[playerid] = 0; PotGram[playerid] = 0; CrackGram[playerid] = 0; PlayerInfo[playerid][pBanned] = 0; ConnectedToPC[playerid] = 0; OrderReady[playerid] = 0; GunId[playerid] = 0; GunMats[playerid] = 0; CraftId[playerid] = 0; CraftMats[playerid] = 0; PlayerInfo[playerid][pFactionModerator] = 0; PlayerInfo[playerid][pGangModerator] = 0; HitOffer[playerid] = 999; HitToGet[playerid] = 999; PlayerInfo[playerid][pCrack] = 0; PlayerInfo[playerid][pKills] = 0; PlayerInfo[playerid][pDMKills] = 0; PlayerInfo[playerid][pOrder] = 0; PlayerInfo[playerid][pOBlocked] = 0; InviteOffer[playerid] = 999; InviteFaction[playerid] = 0; InviteFamily[playerid] = 255; PlayerInfo[playerid][pSpeakerPhone] = 0; hInviteHouse[playerid] = INVALID_HOUSE_ID; hInviteOffer[playerid] = 999; hInviteSlot[playerid] = 0; PlayerInfo[playerid][pDeaths] = 0; JailPrice[playerid] = 0; MedicTime[playerid] = 0; NeedMedicTime[playerid] = 0; GotHit[playerid] = 0; WantedPoints[playerid] = 0; GoChase[playerid] = 999; GetChased[playerid] = 999; PlacedNews[playerid] = 0; OnDuty[playerid] = 0; TestFishes[playerid] = 0; CalledCops[playerid] = 0; CopsCallTime[playerid] = 0; BoxWaitTime[playerid] = 0; SchoolSpawn[playerid] = 0; ChangePos2[playerid][1] = 0; CalledMedics[playerid] = 0; SafeTime[playerid] = 60; TransportDuty[playerid] = 0; PlayerTied[playerid] = 0; MedicsCallTime[playerid] = 0; BusCallTime[playerid] = 0; TaxiCallTime[playerid] = 0; EMSCallTime[playerid] = 0; MedicCallTime[playerid] = 0; MechanicCallTime[playerid] = 0; FindTimePoints[playerid] = 0; FindingPlayer[playerid]=-1; FindTime[playerid] = 0; JobDuty[playerid] = 0; Mobile[playerid] = INVALID_PLAYER_ID; Music[playerid] = 0; BoxOffer[playerid] = 999; PlayerBoxing[playerid] = 0; Spectate[playerid] = 999; PlayerDrunk[playerid] = 0; PlayerDrunkTime[playerid] = 0; format(PlayerInfo[playerid][pPrisonReason], 128, "None"); Unspec[playerid][sLocal] = INVALID_PLAYER_ID; FishCount[playerid] = 0; format(PlayerInfo[playerid][pPrisonedBy], 24, "None"); format(PlayerInfo[playerid][pFlag], 128, ""); HelpingNewbie[playerid] = 999; turfWarsRadar[playerid] = 0; courtjail[playerid] = 0; gLastCar[playerid] = 0; FirstSpawn[playerid] = 0; JetPack[playerid] = 0; PlayerInfo[playerid][pKills] = 0; PlayerInfo[playerid][pPaintTeam] = 0; TextSpamTimes[playerid] = 0; TextSpamUnmute[playerid] = 0; CommandSpamTimes[playerid] = 0; CommandSpamUnmute[playerid] = 0; gOoc[playerid] = 0; arr_Towing[playerid] = INVALID_VEHICLE_ID; gNews[playerid] = 0; gNewbie[playerid] = 1; gHelp[playerid] = 1; BigEar[playerid] = 0; gFam[playerid] = 0; gPlayerLogged{playerid} = 0; gPlayerLogTries[playerid] = 0; gPlayerAccount[playerid] = 0; gPlayerSpawned[playerid] = 0; PlayerTazeTime[playerid] = 0; PlayerStoned[playerid] = 0; PlayerInfo[playerid][pPot] = 0; StartTime[playerid] = 0; TicketOffer[playerid] = 999; TicketMoney[playerid] = 0; PlayerInfo[playerid][pVehicleKeysFrom] = INVALID_PLAYER_ID; ActiveChatbox[playerid] = 1; TutStep[playerid] = 0; PlayerInfo[playerid][pPermaBanned] = 0; PlayerInfo[playerid][pVehicleKeys] = INVALID_PLAYER_VEHICLE_ID; TaxiAccepted[playerid] = 999; EMSAccepted[playerid] = 999; BusAccepted[playerid] = 999; PlayerInfo[playerid][pCrack] = 0; GPSTimer[playerid] = 0; HaveGPS[playerid] = false; HireCar[playerid] = 299; TransportValue[playerid] = 0; TransportMoney[playerid] = 0; TransportTime[playerid] = 0; TransportCost[playerid] = 0; TransportDriver[playerid] = 999; Locator[playerid] = 0; Spectating[playerid] = 0; ReleasingMenu[playerid] = INVALID_PLAYER_ID; Fishes[playerid][pLastFish] = 0; Fishes[playerid][pFishID] = 0; ProposeOffer[playerid] = 999; MarryWitness[playerid] = 999; MarryWitnessOffer[playerid] = 999; MarriageCeremoney[playerid] = 0; ProposedTo[playerid] = 999; GotProposedBy[playerid] = 999; DivorceOffer[playerid] = 999; gBike[playerid] = 0; gBikeRenting[playerid] = 0; stationidp[playerid] = 0; Fixr[playerid] = 0; slotselection[playerid] = 0; PlayerInfo[playerid][pLevel] = 1; PlayerInfo[playerid][pAdmin] = 0; PlayerInfo[playerid][pBanned] = 0; PlayerInfo[playerid][pDisabled] = 0; PlayerInfo[playerid][pMuted] = 0; PlayerInfo[playerid][pRMuted] = 0; PlayerInfo[playerid][pRMutedTotal] = 0; PlayerInfo[playerid][pRMutedTime] = 0; PlayerInfo[playerid][pNMute] = 0; PlayerInfo[playerid][pNMuteTotal] = 0; PlayerInfo[playerid][pADMute] = 0; PlayerInfo[playerid][pADMuteTotal] = 0; PlayerInfo[playerid][pHelpMute] = 0; PlayerInfo[playerid][pVMutedTime] = 0; PlayerInfo[playerid][pVMuted] = 0; PlayerInfo[playerid][pRadio] = 0; PlayerInfo[playerid][pRadioFreq] = 0; PlayerInfo[playerid][pPermaBanned] = 0; PlayerInfo[playerid][pDonateRank] = 0; PlayerInfo[playerid][gPupgrade] = 0; PlayerInfo[playerid][pConnectTime] = 0; PlayerInfo[playerid][pReg] = 0; PlayerInfo[playerid][pSex] = 0; PlayerInfo[playerid][pbuyBoombox] = 0; PlayerInfo[playerid][pAlreadyBoombox] = 0; PlayerInfo[playerid][pAge] = 0; PlayerInfo[playerid][pOrigin] = 0; PlayerInfo[playerid][pExp] = 0; PlayerInfo[playerid][pAccount] = 0; PlayerInfo[playerid][pCrimes] = 0; PlayerInfo[playerid][pDeaths] = 0; PlayerInfo[playerid][pArrested] = 0; PlayerInfo[playerid][pWantedDeaths] = 0; PlayerInfo[playerid][pPhoneBook] = 0; PlayerInfo[playerid][pLottoNr] = 0; PlayerInfo[playerid][pFishes] = 0; PlayerInfo[playerid][pBiggestFish] = 0; PlayerInfo[playerid][pJob] = 0; PlayerInfo[playerid][pJob2] = 0; PlayerInfo[playerid][pPayCheck] = 0; PlayerInfo[playerid][pHeadValue] = 0; PlayerInfo[playerid][pJailed] = 0; PlayerInfo[playerid][pJailTime] = 0; PlayerInfo[playerid][pWRestricted] = 0; PlayerInfo[playerid][pMats] = 0; PlayerInfo[playerid][pMask] = 0; PlayerInfo[playerid][pbuyBoombox] = 0; PlayerInfo[playerid][pAlreadyBoombox] = 0; PlayerInfo[playerid][pLeader] = 0; PlayerInfo[playerid][pMember] = 0; PlayerInfo[playerid][pDivision] = 0; PlayerInfo[playerid][pFMember] = 255; PlayerInfo[playerid][pRank] = 0; PlayerInfo[playerid][pChar] = 0; PlayerInfo[playerid][pRenting] = INVALID_HOUSE_ID; PlayerInfo[playerid][pDetSkill] = 0; PlayerInfo[playerid][pSexSkill] = 0; PlayerInfo[playerid][pBoxSkill] = 0; PlayerInfo[playerid][pLawSkill] = 0; PlayerInfo[playerid][pMechSkill] = 0; PlayerInfo[playerid][pJackSkill] = 0; PlayerInfo[playerid][pCarSkill] = 0; PlayerInfo[playerid][pTruckSkill] = 0; PlayerInfo[playerid][pNewsSkill] = 0; PlayerInfo[playerid][pDrugsSkill] = 0; PlayerInfo[playerid][pArmsSkill] = 0; PlayerInfo[playerid][pSmugSkill] = 0; PlayerInfo[playerid][pCookSkill] = 0; PlayerInfo[playerid][pFishSkill] = 0; PlayerInfo[playerid][pSHealth] = 0.0; PlayerInfo[playerid][pSArmor] = 0.0; PlayerInfo[playerid][pHealth] = 50.0; PlayerInfo[playerid][pLocal] = 255; PlayerInfo[playerid][pTeam] = 3; PlayerInfo[playerid][pCheckCash] = 0; PlayerInfo[playerid][pChecks] = 0; PlayerInfo[playerid][pWExists] = 0; PlayerInfo[playerid][pWX] = 0; PlayerInfo[playerid][pWY] = 0; PlayerInfo[playerid][pWZ] = 0; PlayerInfo[playerid][pWVW] = 0; PlayerInfo[playerid][pWInt] = 0; PlayerInfo[playerid][pWValue] = -1; PlayerInfo[playerid][pWTimer] = -1; PlayerInfo[playerid][pWSeeds] = 0; format(PlayerInfo[playerid][pWarrant], 128, ""); format(PlayerInfo[playerid][pDMReport9], 63, ""); format(PlayerInfo[playerid][pDMReport8], 63, ""); format(PlayerInfo[playerid][pDMReport7], 63, ""); format(PlayerInfo[playerid][pDMReport6], 63, ""); format(PlayerInfo[playerid][pDMReport5], 63, ""); format(PlayerInfo[playerid][pDMReport4], 63, ""); format(PlayerInfo[playerid][pDMReport3], 63, ""); format(PlayerInfo[playerid][pDMReport2], 63, ""); format(PlayerInfo[playerid][pDMReport1], 63, ""); format(PlayerInfo[playerid][pDMReport0], 63, ""); format(PlayerInfo[playerid][pContractBy], 32, ""); format(PlayerInfo[playerid][pContractDetail], 64, ""); PlayerInfo[playerid][pJudgeJailTime] = 0; PlayerInfo[playerid][pJudgeJailType] = 0; PlayerInfo[playerid][pBeingSentenced] = 0; PlayerInfo[playerid][pProbationTime] = 0; PlayerInfo[playerid][pDMIndicators] = 0; PlayerInfo[playerid][pModel] = 299; //new randphone = 1000 + random(8999); PlayerInfo[playerid][pPnumber] = 0; PlayerInfo[playerid][pPhousekey] = INVALID_HOUSE_ID; PlayerInfo[playerid][pPhousekey2] = INVALID_HOUSE_ID; PlayerInfo[playerid][pCarLic] = 1; PlayerInfo[playerid][pFlyLic] = 0; PlayerInfo[playerid][pBoatLic] = 1; PlayerInfo[playerid][pFishLic] = 1; PlayerInfo[playerid][pGunLic] = 1; PlayerInfo[playerid][pTaxiLicense] = 0; PlayerInfo[playerid][pBugged] = 0; PlayerInfo[playerid][pCallsAccepted] = 0; PlayerInfo[playerid][pPatientsDelivered] = 0; PlayerInfo[playerid][pLiveBanned] = 0; PlayerInfo[playerid][pFreezeBank] = 0; PlayerInfo[playerid][pScope] = 0; PlayerInfo[playerid][pHasRefund] = 0; for(new v = 0; v < MAX_PLAYERVEHICLES; v++) { PlayerVehicleInfo[playerid][v][pvModelId] = 0; PlayerVehicleInfo[playerid][v][pvPosX] = 0.0; PlayerVehicleInfo[playerid][v][pvPosY] = 0.0; PlayerVehicleInfo[playerid][v][pvPosZ] = 0.0; PlayerVehicleInfo[playerid][v][pvPosAngle] = 0.0; PlayerVehicleInfo[playerid][v][pvLock] = 0; PlayerVehicleInfo[playerid][v][pvLocked] = 0; PlayerVehicleInfo[playerid][v][pvPaintJob] = -1; PlayerVehicleInfo[playerid][v][pvColor1] = 0; PlayerVehicleInfo[playerid][v][pvImpounded] = 0; PlayerVehicleInfo[playerid][v][pvColor2] = 0; PlayerVehicleInfo[playerid][v][pvPrice] = 0; PlayerVehicleInfo[playerid][v][pvTicket] = 0; PlayerVehicleInfo[playerid][v][pvWeapons][0] = 0; PlayerVehicleInfo[playerid][v][pvWeapons][1] = 0; PlayerVehicleInfo[playerid][v][pvWeapons][2] = 0; PlayerVehicleInfo[playerid][v][pvWepUpgrade] = 0; PlayerVehicleInfo[playerid][v][pvFuel] = 100.0; //format(PlayerVehicleInfo[playerid][v][pvNumberPlate], 32, "NG31 {FF0000}F7W"); // Numeric attempt for "NGG FTW" with extra spaces. strcpy(PlayerVehicleInfo[playerid][v][pvAllowPlayer], "No-ne", MAX_PLAYER_NAME); PlayerVehicleInfo[playerid][v][pvAllowedPlayerId] = INVALID_PLAYER_ID; PlayerVehicleInfo[playerid][v][pvPark] = 0; ListItemReleaseId[playerid][v] = -1; ListItemTrackId[playerid][v] = -1; for(new m = 0; m < MAX_MODS; m++) { PlayerVehicleInfo[playerid][v][pvMods][m] = 0; } } for(new v = 0; v < MAX_PLAYERTOYS; v++) { PlayerToyInfo[playerid][v][ptModelID] = 0; PlayerToyInfo[playerid][v][ptBone] = 0; PlayerToyInfo[playerid][v][ptPosX] = 0.0; PlayerToyInfo[playerid][v][ptPosY] = 0.0; PlayerToyInfo[playerid][v][ptPosZ] = 0.0; PlayerToyInfo[playerid][v][ptRotX] = 0.0; PlayerToyInfo[playerid][v][ptRotY] = 0.0; PlayerToyInfo[playerid][v][ptRotZ] = 0.0; PlayerToyInfo[playerid][v][ptScaleX] = 1.0; PlayerToyInfo[playerid][v][ptScaleY] = 1.0; PlayerToyInfo[playerid][v][ptScaleZ] = 1.0; } for(new s = 0; s < 12; s++) { PlayerInfo[playerid][pAGuns][s] = 0; PlayerInfo[playerid][pGuns][s] = 0; } for(new s = 0; s < 40; s++) { ListItemReportId[playerid][s] = -1; } CancelReport[playerid] = -1; GiveKeysTo[playerid] = INVALID_PLAYER_ID; PlayerInfo[playerid][pCarTime] = 0; PlayerInfo[playerid][pPayDay] = 0; PlayerInfo[playerid][pPayDayHad] = 0; PlayerInfo[playerid][pCDPlayer] = 0; PlayerInfo[playerid][pWins] = 0; PlayerInfo[playerid][pLoses] = 0; PlayerInfo[playerid][pAlcoholPerk] = 0; PlayerInfo[playerid][pDrugPerk] = 0; PlayerInfo[playerid][pMiserPerk] = 0; PlayerInfo[playerid][pPainPerk] = 0; PlayerInfo[playerid][pTraderPerk] = 0; PlayerInfo[playerid][pTut] = 0; PlayerInfo[playerid][pWarns] = 0; PlayerInfo[playerid][pRope] = 0; PlayerInfo[playerid][pDice] = 0; PlayerInfo[playerid][pScrewdriver] = 0; PlayerInfo[playerid][pAdjustable] = 0; PlayerInfo[playerid][pWantedLevel] = 0; PlayerInfo[playerid][pInsurance] = 0; PlayerInfo[playerid][pDutyHours] = 0; PlayerInfo[playerid][pAcceptedHelp] = 0; PlayerInfo[playerid][pAcceptReport] = 0; PlayerInfo[playerid][pTrashReport] = 0; PlayerInfo[playerid][pGiftTime] = 0; PlayerInfo[playerid][pTicketTime] = 0; PlayerInfo[playerid][pServiceTime] = 0; PlayerInfo[playerid][pFirework] = 0; RocketExplosions[playerid] = -1; ClearCrime(playerid); ClearFishes(playerid); ClearCooking(playerid); ClearGroceries(playerid); ClearMarriage(playerid); SetPlayerColor(playerid,TEAM_HIT_COLOR); SendClientMessageEx(playerid, COLOR_WHITE, "{25FF00}SERVER: {FFFFFF}Welcome to servername" ); SendClientMessageEx(playerid, COLOR_YELLOW, "{25FF00}SERVER: {FFFFFF}Community Owner: Mr.Chopper & James" ); SendClientMessageEx(playerid, COLOR_YELLOW, "{25FF00}SERVER: {FFFFFF}Community Scripter: Mr.Chopper" ); SendClientMessageEx(playerid, COLOR_YELLOW, "{25FF00}SERVER: {FFFFFF}Loading Gamemode please wait, it will take few seconds....." ); SetTimerEx("SafeLogin", 1000, 0, "d", playerid); SyncPlayerTime(playerid); new string[128]; //format(string, sizeof(string), "%s has Joined the Simple Life Roleplay.", GetPlayerNameEx(playerid)); foreach(Player, i) { if(PlayerInfo[i][pHelper] >= 2 || PlayerInfo[i][pAdmin] >= 1) { if(!togJoin[i]) { SendClientMessage(i, TEAM_AZTECAS_COLOR, string); } } }



    Ab hier nurnoch RemoveBuildingForPlayer}




    ???????????? :D

    Schönen guten Abend :)
    Joar mein Login/Register bugt.
    Folgender Fehler :
    Er zeigt den Register/Login Dialog nicht an..


    Gamemode nicht geladen?
    Doch.
    Die Info's über den Server am Anfang werden geladen, der Gamemodetext, alles.
    Liegt im Script.
    Keine Fehlermeldungen im Log/KOnsole.


    Basiert auf Filebase ----
    Hilfeeeeeeeee