Jump to content

anakin29

Membru
  • Posts

    76
  • Joined

  • Last visited

    Never

Posts posted by anakin29

  1. Salut sa-mp.ro am si eu o problema in gamemodu meu nu da aproape nici o eroare e totu perfect dar cand vreua sa pornesc serveru merge merge si porma se opreste brusc :|

    uitait logurile

    ----------

    Loaded log file: "server_log.txt".

    ----------

    SA-MP Dedicated Server

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

    v0.3e-R2, ©2005-2012 SA-MP Team

    [16:26:30]

    [16:26:30] Server Plugins

    [16:26:30] --------------

    [16:26:30]  Loading plugin: streamer.dll

    [16:26:30]

    *** Streamer Plugin v2.6.1 by Incognito loaded ***

    [16:26:30]  Loaded.

    [16:26:30]  Loaded 1 plugins.

    [16:26:30]

    [16:26:30] Filterscripts

    [16:26:30] ---------------

    [16:26:30]  Loading filterscript 'semnalizari.amx'...

    [16:26:30]  Loaded 1 filterscripts.

    Si acum 2 ore mergea bine

  2. Buna seara sa-mp.ro azi am si eu o probelma uriasa . Azi am lucrat mult la un server si nu am dat complier si bine inteles ca la final cand am dat imi da "BIG ERROR" in ce consta asta ?

    Pawno imi araca ca complimeaza dar la sfarsit windowsul imi da erorea not responding si nu o pot rezolva si daca vreti sami spuneti sa ma uit in spate nu pot fiindca am lucrat la 6 lucruri si nu stiu unde am gresit paote siti un program ceva va rog mult ajutatima.

    Multumesc anticipat.

  3. am luat toate linile cu "register "

    [pawn]if(dialogid == 1244)

    {

        if(response)

        {

    if (gPlayerAccount[playerid] != 0)

    {

    ShowPlayerDialog(playerid, 1245, DIALOG_STYLE_INPUT,"Welcome, Please Log-In","Type your password below to log-in","Log-in","Quit");

    }

    else

    {

    ShowPlayerDialog(playerid, 1246, DIALOG_STYLE_INPUT,"Welcome, Please Register","Type your password below to register a new account.","Register","Quit");

    }

    new y, m, d;

    new h,mi,s;

    getdate(y,m,d);

    gettime(h,mi,s);

    format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s Has accepted the terms and conditions.",d,m,y,h,mi,s,sendername);

    LoginLog(string);

    }

    else

    {

        SendClientMessage(playerid, COLOR_GREY,"* You selected \"Refuse\", To play you must agree to the terms of condition");

    Kick(playerid);

    }

    }[/pawn]

    [pawn]if(dialogid == 1246)

    {

        if(response == 1)

        {

            if(strlen(inputtext) < 3)

    {

        ShowPlayerDialog(playerid, 1246, DIALOG_STYLE_INPUT,"Try Again, Please Register","The password entered is Too Short!\nType your password below to register a new account.","Register","Quit");

        return 1;

    }

                    if(strlen(inputtext) > 20)

                    {

                        ShowPlayerDialog(playerid, 1246, DIALOG_STYLE_INPUT,"Try Again, Please Register","The password entered is too Long!\nType your password below to register a new account.","Register","Quit");

                        return 1;

                    }

            OnPlayerRegister(playerid, inputtext);

        }

    else

    {

        Kick(playerid);

    }

    }[/pawn]

    [pawn]public OnPlayerRegister(playerid, password[])

    {

    if(IsPlayerConnected(playerid))

    {

    new string3[64];

    new string[128];

    new playersip[24];

    new playername3[MAX_PLAYER_NAME];

    GetPlayerName(playerid, playername3, sizeof(playername3));

    GetPlayerIp(playerid, playersip, sizeof(playersip));

    format(string3, sizeof(string3), "LARP/Users/%s.ini", playername3);

    dini_Create(string3);

    new password2 = num_hash(password);

    PlayerInfo[playerid][pKey] = password2;

    dini_IntSet(string3, "Password",password2);

    dini_IntSet(string3, "Level",PlayerInfo[playerid][pLevel]);

    dini_IntSet(string3, "Spawn",PlayerInfo[playerid][pSpawn]);

    dini_IntSet(string3, "TesterLevel",PlayerInfo[playerid][pTester]);

    dini_IntSet(string3, "HelperLevel",PlayerInfo[playerid][pHelper]);

        dini_IntSet(string3, "AdminLevel",PlayerInfo[playerid][pAdmin]);

        dini_IntSet(string3, "RegularRank",PlayerInfo[playerid][pRegularRank]);

        dini_IntSet(string3, "UpgradePoints",PlayerInfo[playerid][gPupgrade]);

        dini_IntSet(string3, "ConnectedTime",PlayerInfo[playerid][pConnectSeconds]);

        dini_IntSet(string3, "Registered",PlayerInfo[playerid][pReg]);

        dini_IntSet(string3, "Sex",PlayerInfo[playerid][pSex]);

        dini_IntSet(string3, "Age",PlayerInfo[playerid]


    );

        dini_IntSet(string3, "GPS",PlayerInfo[playerid][pGPS]);

        dini_IntSet(string3, "Origin",PlayerInfo[playerid][pOrigin]);

        dini_IntSet(string3, "CK",PlayerInfo[playerid][pCK]);

        dini_IntSet(string3, "Muted",PlayerInfo[playerid][pMuted]);

        dini_IntSet(string3, "Frozen",PlayerInfo[playerid][pFrozen]);

        dini_IntSet(string3, "Blind",PlayerInfo[playerid][pBlind]);

        dini_IntSet(string3, "Respect",PlayerInfo[playerid][pExp]);

        dini_IntSet(string3, "Money",PlayerInfo[playerid][pCash]);

        PlayerInfo[playerid][pCash] = ScriptMoney[playerid];

        dini_IntSet(string3, "Bank",PlayerInfo[playerid][pAccount]);

            dini_IntSet(string3, "Crimes",PlayerInfo[playerid][pCrimes]);

        dini_Set(string3, "CrimeReason",PlayerInfo[playerid][pCrimeReason]);

        dini_IntSet(string3, "Wanted",PlayerInfo[playerid][pWanted]);

        dini_IntSet(string3, "WantedLevel",PlayerInfo[playerid][pWantedLevel]);

        dini_IntSet(string3, "Kills",PlayerInfo[playerid][pKills]);

        dini_IntSet(string3, "Deaths",PlayerInfo[playerid][pDeaths]);

        dini_IntSet(string3, "Arrested",PlayerInfo[playerid][pArrested]);

        dini_IntSet(string3, "WantedDeaths",PlayerInfo[playerid][pWantedDeaths]);

        dini_IntSet(string3, "Phonebook",PlayerInfo[playerid][pPhoneBook]);

        dini_IntSet(string3, "Fishes",PlayerInfo[playerid][pFishes]);

        dini_IntSet(string3, "BiggestFish",PlayerInfo[playerid][pBiggestFish]);

        dini_IntSet(string3, "Job",PlayerInfo[playerid][pJob]);

        dini_IntSet(string3, "Paycheck",PlayerInfo[playerid][pPayCheck]);

        dini_IntSet(string3, "HeadValue",PlayerInfo[playerid][pHeadValue]);

        dini_IntSet(string3, "Jailed",PlayerInfo[playerid][pJailed]);

        dini_IntSet(string3, "JailTime",PlayerInfo[playerid][pJailTime]);

        dini_IntSet(string3, "CanRobTime",PlayerInfo[playerid][pRobTime]);

        dini_IntSet(string3, "Materials",PlayerInfo[playerid][pMats]);

        dini_IntSet(string3, "Drugs",PlayerInfo[playerid][pDrugs]);

            dini_IntSet(string3, "Leader",PlayerInfo[playerid][pLeader]);

        dini_IntSet(string3, "Member",PlayerInfo[playerid][pMember]);

        dini_IntSet(string3, "FMember",PlayerInfo[playerid][pFMember]);

        dini_IntSet(string3, "Rank",PlayerInfo[playerid][pRank]);

        dini_IntSet(string3, "Char",PlayerInfo[playerid][pChar]);

        dini_IntSet(string3, "ContractTime",PlayerInfo[playerid][pContractTime]);

        dini_IntSet(string3, "DetSkill",PlayerInfo[playerid][pDetSkill]);

        dini_IntSet(string3, "SexSkill",PlayerInfo[playerid][pSexSkill]);

        dini_IntSet(string3, "BoxSkill",PlayerInfo[playerid][pBoxSkill]);

        dini_IntSet(string3, "LawSkill",PlayerInfo[playerid][pLawSkill]);

        dini_IntSet(string3, "MechSkill",PlayerInfo[playerid][pMechSkill]);

        dini_IntSet(string3, "JackSkill",PlayerInfo[playerid][pJackSkill]);

        dini_IntSet(string3, "CarSkill",PlayerInfo[playerid][pCarSkill]);

        dini_IntSet(string3, "NewsSkill",PlayerInfo[playerid][pNewsSkill]);

        dini_IntSet(string3, "DrugsSkill",PlayerInfo[playerid][pDrugsSkill]);

        dini_IntSet(string3, "CookSkill",PlayerInfo[playerid][pCookSkill]);

        dini_IntSet(string3, "FishSkill",PlayerInfo[playerid][pFishSkill]);

        dini_FloatSet(string3, "pHealth",PlayerInfo[playerid][pHealth]);

        dini_FloatSet(string3, "pArmour",PlayerInfo[playerid][pArmour]);

        dini_IntSet(string3, "Int",PlayerInfo[playerid][pInt]);

        dini_IntSet(string3, "InteriorNr",PlayerInfo[playerid][pInteriorNr]);

        dini_IntSet(string3, "Local",PlayerInfo[playerid][pLocal]);

        dini_IntSet(string3, "Team",PlayerInfo[playerid][pTeam]);

        dini_IntSet(string3, "Model",PlayerInfo[playerid][pModel]);

        dini_IntSet(string3, "PhoneNr",PlayerInfo[playerid][pPnumber]);

        dini_IntSet(string3, "Car",PlayerInfo[playerid][pPcarkey]);

        dini_IntSet(string3, "Car2",PlayerInfo[playerid][pPcarkey2]);

        dini_IntSet(string3, "House",PlayerInfo[playerid][pPhousekey]);

        dini_IntSet(string3, "Bizz",PlayerInfo[playerid][pPbiskey]);

        dini_FloatSet(string3, "Pos_x",PlayerInfo[playerid][pPos_x]);

        dini_FloatSet(string3, "Pos_y",PlayerInfo[playerid][pPos_y]);

        dini_FloatSet(string3, "Pos_z",PlayerInfo[playerid][pPos_z]);

        dini_IntSet(string3, "Passport",PlayerInfo[playerid][pPassport]);

            dini_IntSet(string3, "CarLic",PlayerInfo[playerid][pCarLic]);

        dini_IntSet(string3, "FlyLic",PlayerInfo[playerid][pFlyLic]);

        dini_IntSet(string3, "BoatLic",PlayerInfo[playerid][pBoatLic]);

        dini_IntSet(string3, "FishLic",PlayerInfo[playerid][pFishLic]);

        dini_IntSet(string3, "GunLic",PlayerInfo[playerid][pGunLic]);

        dini_IntSet(string3, "CopLic",PlayerInfo[playerid][pCopLic]);

        dini_IntSet(string3, "CarTime",PlayerInfo[playerid][pCarTime]);

        dini_IntSet(string3, "PayDay",PlayerInfo[playerid][pPayDay]);

        dini_IntSet(string3, "PayDayHad",PlayerInfo[playerid][pPayDayHad]);

        dini_IntSet(string3, "Watch",PlayerInfo[playerid][pWatch]);

        dini_IntSet(string3, "Crashed",PlayerInfo[playerid][pCrashed]);

        dini_IntSet(string3, "Wins",PlayerInfo[playerid][pWins]);

      dini_IntSet(string3, "Loses",PlayerInfo[playerid][pLoses]);

        dini_IntSet(string3, "AlcoholPerk",PlayerInfo[playerid][pAlcoholPerk]);

        dini_IntSet(string3, "DrugPerk",PlayerInfo[playerid][pDrugPerk]);

        dini_IntSet(string3, "MiserPerk",PlayerInfo[playerid][pMiserPerk]);

        dini_IntSet(string3, "PainPerk",PlayerInfo[playerid][pPainPerk]);

        dini_IntSet(string3, "TraderPerk",PlayerInfo[playerid][pTraderPerk]);

    dini_IntSet(string3, "Tutorial",PlayerInfo[playerid][pTut]);

    dini_IntSet(string3, "VirWorld",PlayerInfo[playerid][pVirWorld]);

    dini_IntSet(string3, "Fuel",PlayerInfo[playerid][pFuel]);

    dini_IntSet(string3, "Married",PlayerInfo[playerid][pMarried]);

    dini_Set(string3, "MarriedTo",PlayerInfo[playerid][pMarriedTo]);

    dini_IntSet(string3, "FishTool",PlayerInfo[playerid][pFishTool]);

    dini_Set(string3, "WhyLeft",PlayerInfo[playerid][pWhyLeft]);

    dini_Set(string3, "Note1",PlayerInfo[playerid][pNote1]);

            dini_IntSet(string3, "Note1s",PlayerInfo[playerid][pNote1s]);

            dini_Set(string3, "Note2",PlayerInfo[playerid][pNote2]);

            dini_IntSet(string3, "Note2s",PlayerInfo[playerid][pNote2s]);

            dini_Set(string3, "Note3",PlayerInfo[playerid][pNote3]);

            dini_IntSet(string3, "Note3s",PlayerInfo[playerid][pNote3s]);

            dini_Set(string3, "Note4",PlayerInfo[playerid][pNote4]);

            dini_IntSet(string3, "Note4s",PlayerInfo[playerid][pNote4s]);

            dini_Set(string3, "Note5",PlayerInfo[playerid][pNote5]);

            dini_IntSet(string3, "Note5s",PlayerInfo[playerid][pNote5s]);

            dini_IntSet(string3, "InvWeapon",PlayerInfo[playerid][pInvWeapon]);

        dini_IntSet(string3, "InvAmmo",PlayerInfo[playerid][pInvAmmo]);

        dini_IntSet(string3, "InvWeapon2",PlayerInfo[playerid][pInvWeapon2]);

        dini_IntSet(string3, "InvAmmo2",PlayerInfo[playerid][pInvAmmo2]);

        dini_IntSet(string3, "InvWeapon3",PlayerInfo[playerid][pInvWeapon3]);

        dini_IntSet(string3, "InvAmmo3",PlayerInfo[playerid][pInvAmmo3]);

        dini_IntSet(string3, "InvWeapon4",PlayerInfo[playerid][pInvWeapon4]);

        dini_IntSet(string3, "InvAmmo4",PlayerInfo[playerid][pInvAmmo4]);

        dini_IntSet(string3, "InvWeapon5",PlayerInfo[playerid][pInvWeapon5]);

        dini_IntSet(string3, "InvAmmo5",PlayerInfo[playerid][pInvAmmo5]);

            dini_IntSet(string3, "InvWeapon6",PlayerInfo[playerid][pInvWeapon6]);

        dini_IntSet(string3, "InvAmmo6",PlayerInfo[playerid][pInvAmmo6]);

    dini_IntSet(string3, "Lighter",PlayerInfo[playerid][pLighter]);

        dini_IntSet(string3, "Cigarettes",PlayerInfo[playerid][pCigarettes]);

        dini_IntSet(string3, "DDManager",PlayerInfo[playerid][pDM]);

        dini_IntSet(string3, "OnDuty",PlayerInfo[playerid][pDuty]);

        dini_IntSet(string3, "Warnings",PlayerInfo[playerid][pWarned]);

        dini_IntSet(string3, "Swat",PlayerInfo[playerid][pSwat]);

        dini_IntSet(string3, "Fighting",PlayerInfo[playerid][pFS]);

        dini_IntSet(string3, "Boxing",PlayerInfo[playerid][pBoxiSkill]);

        dini_IntSet(string3, "KneeHead",PlayerInfo[playerid][pKneeSkill]);

            dini_IntSet(string3, "KungFu",PlayerInfo[playerid][pKungSkill]);

        dini_IntSet(string3, "GrabKick",PlayerInfo[playerid][pGrabSkill]);

        dini_IntSet(string3, "Elbow",PlayerInfo[playerid][pElbowSkill]);

        dini_IntSet(string3, "Tactical",PlayerInfo[playerid][pTactical]);

        dini_IntSet(string3, "SpecialF",PlayerInfo[playerid][pSpecialF]);

        dini_IntSet(string3, "DutyBanned",PlayerInfo[playerid][pDBanned]);

        dini_IntSet(string3, "DDTicket",PlayerInfo[playerid][pDTK]);

        dini_IntSet(string3, "DDSTicket",PlayerInfo[playerid][pDSTK]);

        dini_IntSet(string3, "Speedo",PlayerInfo[playerid][pSpeedo]);

            dini_IntSet(string3, "HydraDriver",PlayerInfo[playerid][pHydraR]);

        dini_IntSet(string3, "HunterDriver",PlayerInfo[playerid][pHunterR]);

        dini_IntSet(string3, "RhinoDriver",PlayerInfo[playerid][pRhinoR]);

        dini_IntSet(string3, "PredatorDriver",PlayerInfo[playerid][pPredR]);

        dini_IntSet(string3, "ViewPms",PlayerInfo[playerid][pViewPms]);

        dini_IntSet(string3, "AppearList",PlayerInfo[playerid][pAppearList]);

        dini_IntSet(string3, "AmmunationTime",PlayerInfo[playerid][pAmmuTrainTime]);

        dini_IntSet(string3, "PistolSkill",PlayerInfo[playerid][pPistSkill]);

        dini_IntSet(string3, "SilencedSkill",PlayerInfo[playerid][pSilenSkill]);

            dini_IntSet(string3, "DesertSkill",PlayerInfo[playerid][pDesertSkill]);

        dini_IntSet(string3, "ShotgunSkill",PlayerInfo[playerid][pShotgSkill]);

        dini_IntSet(string3, "SawnoffSkill",PlayerInfo[playerid][pSawnSkill]);

        dini_IntSet(string3, "CombatSkill",PlayerInfo[playerid][pCombSkill]);

        dini_IntSet(string3, "UziSkill",PlayerInfo[playerid][pUziSkill]);

        dini_IntSet(string3, "SMGSkill",PlayerInfo[playerid][pSmgSkill]);

        dini_IntSet(string3, "AK47Skill",PlayerInfo[playerid][pAkSkill]);

        dini_IntSet(string3, "M4Skill",PlayerInfo[playerid][pM4Skill]);

        dini_IntSet(string3, "TutorialDone",PlayerInfo[playerid][pTutDone]);

        dini_IntSet(string3, "RegularCount",PlayerInfo[playerid][pRegularCount]);

        dini_IntSet(string3, "PassportTime",PlayerInfo[playerid][pPassportTime]);

        dini_IntSet(string3, "OfficerTime",PlayerInfo[playerid][pOfficerTime]);

        dini_IntSet(string3, "Achievement0",PlayerInfo[playerid][pAchievement0]);

        dini_IntSet(string3, "Achievement1",PlayerInfo[playerid][pAchievement1]);

        dini_IntSet(string3, "Achievement2",PlayerInfo[playerid][pAchievement2]);

        dini_IntSet(string3, "Achievement3",PlayerInfo[playerid][pAchievement3]);

        dini_IntSet(string3, "Achievement4",PlayerInfo[playerid][pAchievement4]);

        dini_IntSet(string3, "Achievement5",PlayerInfo[playerid][pAchievement5]);

        dini_IntSet(string3, "Achievement6",PlayerInfo[playerid][pAchievement6]);

        dini_IntSet(string3, "Achievement7",PlayerInfo[playerid][pAchievement7]);

        dini_IntSet(string3, "Achievement8",PlayerInfo[playerid][pAchievement8]);

        dini_IntSet(string3, "Achievement9",PlayerInfo[playerid][pAchievement9]);

        dini_IntSet(string3, "Achievement10",PlayerInfo[playerid][pAchievement10]);

        dini_IntSet(string3, "Achievement11",PlayerInfo[playerid][pAchievement11]);

        dini_IntSet(string3, "Achievement12",PlayerInfo[playerid][pAchievement12]);

        dini_IntSet(string3, "Achievement13",PlayerInfo[playerid][pAchievement13]);

        dini_IntSet(string3, "Achievement14",PlayerInfo[playerid][pAchievement14]);

        dini_IntSet(string3, "Achievement15",PlayerInfo[playerid][pAchievement15]);

        dini_IntSet(string3, "Achievement16",PlayerInfo[playerid][pAchievement16]);

        dini_IntSet(string3, "Achievement17",PlayerInfo[playerid][pAchievement17]);

        dini_IntSet(string3, "Achievement18",PlayerInfo[playerid][pAchievement18]);

        dini_IntSet(string3, "Achievement19",PlayerInfo[playerid][pAchievement19]);

        dini_IntSet(string3, "Achievement20",PlayerInfo[playerid][pAchievement20]);

        dini_IntSet(string3, "ShiftName",PlayerInfo[playerid][pShiftName]);

        dini_IntSet(string3, "Weapon",PlayerInfo[playerid][pWeapon]);

        dini_IntSet(string3, "Ammo",PlayerInfo[playerid][pAmmo]);

        dini_IntSet(string3, "Weapon2",PlayerInfo[playerid][pWeapon2]);

        dini_IntSet(string3, "Ammo2",PlayerInfo[playerid][pAmmo2]);

        dini_IntSet(string3, "Weapon3",PlayerInfo[playerid][pWeapon3]);

        dini_IntSet(string3, "Ammo3",PlayerInfo[playerid][pAmmo3]);

        dini_IntSet(string3, "Weapon4",PlayerInfo[playerid][pWeapon4]);

        dini_IntSet(string3, "Ammo4",PlayerInfo[playerid][pAmmo4]);

        dini_IntSet(string3, "Weapon5",PlayerInfo[playerid][pWeapon5]);

        dini_IntSet(string3, "Ammo5",PlayerInfo[playerid][pAmmo5]);

        dini_IntSet(string3, "Weapon6",PlayerInfo[playerid][pWeapon6]);

        dini_IntSet(string3, "Ammo6",PlayerInfo[playerid][pAmmo6]);

        dini_IntSet(string3, "Weapon7",PlayerInfo[playerid][pWeapon7]);

        dini_IntSet(string3, "Ammo7",PlayerInfo[playerid][pAmmo7]);

        dini_IntSet(string3, "Weapon8",PlayerInfo[playerid][pWeapon8]);

        dini_IntSet(string3, "Ammo8",PlayerInfo[playerid][pAmmo8]);

        dini_IntSet(string3, "Weapon9",PlayerInfo[playerid][pWeapon9]);

        dini_IntSet(string3, "Ammo9",PlayerInfo[playerid][pAmmo9]);

        dini_IntSet(string3, "Weapon10",PlayerInfo[playerid][pWeapon10]);

        dini_IntSet(string3, "Ammo10",PlayerInfo[playerid][pAmmo10]);

        dini_IntSet(string3, "Weapon11",PlayerInfo[playerid][pWeapon11]);

        dini_IntSet(string3, "Ammo11",PlayerInfo[playerid][pAmmo11]);

        dini_IntSet(string3, "Weapon12",PlayerInfo[playerid][pWeapon12]);

        dini_IntSet(string3, "Ammo12",PlayerInfo[playerid][pAmmo12]);

        dini_IntSet(string3, "Atc",PlayerInfo[playerid][pAtc]);

        dini_IntSet(string3, "AtcRadio",PlayerInfo[playerid][pAtcRadio]);

        dini_IntSet(string3, "Pending",PlayerInfo[playerid][pPending]);

        dini_Set(string3, "PendingInfo",PlayerInfo[playerid][pPendingInfo]);

        dini_IntSet(string3, "ChatMode",PlayerInfo[playerid][pChatMode]);

        dini_IntSet(string3, "TruckLoad",PlayerInfo[playerid][pTruckLoad]);

        dini_Set(string3, "Punishment1",PlayerInfo[playerid][pPunishment1]);

        dini_Set(string3, "Punishment2",PlayerInfo[playerid][pPunishment2]);

        dini_Set(string3, "Punishment3",PlayerInfo[playerid][pPunishment3]);

        dini_Set(string3, "Punishment4",PlayerInfo[playerid][pPunishment4]);

        dini_Set(string3, "Punishment5",PlayerInfo[playerid][pPunishment5]);

        dini_Set(string3, "Punishment6",PlayerInfo[playerid][pPunishment6]);

        dini_Set(string3, "Punishment7",PlayerInfo[playerid][pPunishment7]);

        dini_Set(string3, "Punishment8",PlayerInfo[playerid][pPunishment8]);

        dini_IntSet(string3, "NextPunishment",PlayerInfo[playerid][pNextPunishment]);

        dini_IntSet(string3, "PunishedTimes",PlayerInfo[playerid][pPunished]);

        dini_IntSet(string3, "TazerBullets",PlayerInfo[playerid][pTazerBullets]);

        dini_Set(string3, "IP",PlayerInfo[playerid][pIP]);

        dini_Set(string3, "LastLogged",PlayerInfo[playerid][pLastSeen]);

        dini_IntSet(string3, "Changed",PlayerInfo[playerid][pChanged]);

        dini_Set(string3, "RegistredDate",PlayerInfo[playerid][pRegistredDate]);

        dini_IntSet(string3, "BizzEntered",BizzEntered[playerid]);

        dini_IntSet(string3, "HouseEntered",HouseEntered[playerid]);

        dini_IntSet(string3, "Decoder",PlayerInfo[playerid][pDecoder]);

        dini_IntSet(string3, "Banned",PlayerInfo[playerid][pBanned]);

    ShowPlayerDialog(playerid, 1245, DIALOG_STYLE_INPUT,"Welcome, Please Log-In","Account Successfuly Registred into the database!\nType your password below to log-in","Log-in","Quit");

            new y,m,d;

    new h,mi,s;

    getdate(y,m,d);

    gettime(h,mi,s);

    format(string,sizeof(string), "(%d/%d/%d) [%d:%d:%d] %s Has registred in under IP %s.",d,m,y,h,mi,s,playername3,playersip);

    PlayerInfo[playerid][pReg] = 0;

    LoginLog(string);

    }

    return 1;

    }[/pawn]

  4. aici imi da erorile

    [pawn]

    #include <a_samp>

    #define RECORDING "mynpc" //This is the filename of your recording without the extension.

    #define RECORDING_TYPE 2 //1 for in vehicle and 2 for on foot.

    #include <a_npc>

    public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING);

    #if RECORDING_TYPE == 1

        public OnNPCEnterVehicle(vehicleid, seatid) StartRecordingPlayback(RECORDING_TYPE, RECORDING);

        public OnNPCExitVehicle() StopRecordingPlayback();

    #else

        public OnNPCSpawn() StartRecordingPlayback(RECORDING_TYPE, RECORDING);

    #endif[/pawn]

  5. dece imi da erorile astea?

    C:\Users\user\Desktop\LSRP\npcmodes\recordings\plajaman.pwn(8) : warning 235: public function lacks forward declaration (symbol "OnRecordingPlaybackEnd")

    C:\Users\user\Desktop\LSRP\npcmodes\recordings\plajaman.pwn(8) : error 017: undefined symbol "StartRecordingPlayback"

    C:\Users\user\Desktop\LSRP\npcmodes\recordings\plajaman.pwn(14) : warning 235: public function lacks forward declaration (symbol "OnNPCSpawn")

    C:\Users\user\Desktop\LSRP\npcmodes\recordings\plajaman.pwn(14) : error 017: undefined symbol "StartRecordingPlayback"

    C:\Users\user\Desktop\LSRP\npcmodes\recordings\plajaman.pwn(35) : error 021: symbol already defined: "main"

    C:\Users\user\Desktop\LSRP\npcmodes\recordings\plajaman.pwn(68) : warning 217: loose indentation

    C:\Users\user\Desktop\LSRP\npcmodes\recordings\plajaman.pwn(87) : warning 209: function "OnPlayerSpawn" should return a value

    C:\Users\user\Desktop\LSRP\npcmodes\recordings\plajaman.pwn(87) : error 010: invalid function or declaration

    Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

    4 Errors.

  6. poatete ajuta asta eu folosesc systemul asta

    [pawn]else if (IsPlayerInRangeOfPoint(playerid, 1, cordonatele unde trebuie sa dea ENTER))

    {

    PlayerInfo[playerid][pInteriorNr] = numarul interiorului;

    SafeSetPlayerPos(playerid, cordonatele unde trebuie sal dea dupa ce a pasat ENTER);

    SafeSetPlayerInterior(playerid,numarul interiorului);

    SetPlayerFacingAngle(playerid, 0);

    }

    else if (IsPlayerInRangeOfPoint(playerid, 1, cordonatele unde trebuie sa dea enter pentru a iesi din HQ))

    {

    PlayerInfo[playerid][pInteriorNr] = 0;

    SafeSetPlayerPos(playerid, cordonatele unde trebuie sal dea);

    GameTextForPlayer(playerid, "~w~Los Santos",5000,1);

    SafeSetPlayerInterior(playerid,0);

    SetPlayerFacingAngle(playerid, 0);

    }[/pawn]

    eu asa folosesc daca nu e de ajutor nu ma criticati

  7. Buna ziua am si eu 3 probleme

    1:cand dau /admins sau /testers numi arata nici un admin/tester on si ei sunt si on duty

    CMD /admins

    [pawn] if (strcmp(cmd, "/admins", true) == 0)

    {

            if(IsPlayerConnected(playerid))

        {

            SendClientMessage(playerid, COLOR_GREEN, "|____ Los-Santos-RolePlay Administrators ____|");

    for(new i = 0; i < MAX_PLAYERS; i++)

    {

    if(IsPlayerConnected(i))

    {

        if(PlayerInfo[pAdmin] >= 1 && PlayerInfo[pAdmin] <= 1338 )

        {

            new admtext[64];

            if(PlayerInfo[pAppearList] == 1)

            {

            if(PlayerInfo[pAdmin] == 1338) { admtext = "Administrator Principal"; }

    else if(PlayerInfo[pAdmin] == 1337) { admtext = "Administrator"; }

    else if(PlayerInfo[pAdmin] == 6) { admtext = "Administrator[3]"; }

    else if(PlayerInfo[pAdmin] == 5) { admtext = "Administrator[2]"; }

    else if(PlayerInfo[pAdmin] == 4) { admtext = "Administrator[1]"; }

    else if(PlayerInfo[pAdmin] == 3) { admtext = "Global Moderator"; }

    else if(PlayerInfo[pAdmin] == 2) { admtext = "Moderator"; }

    else if(PlayerInfo[pAdmin] == 1) { admtext = "Asistent"; }

    else { admtext = "Unknown Rank"; }

    }

    GetPlayerName(i, sendername, sizeof(sendername));

    if(PlayerInfo[pAdminDuty] == 0 && PlayerInfo[pAppearList] == 1)

    {

    format(string, sizeof(string), "%s - %s", admtext, sendername);

    SendClientMessage(playerid, COLOR_WHITE, string);

    }

    else if(PlayerInfo[pAdminDuty] == 1 && PlayerInfo[pAppearList] == 1)

    {

        format(string, sizeof(string), "%s - %s (On Duty)", admtext, sendername);

    SendClientMessage(playerid, TEAM_VAGOS_COLOR, string);

    }

    }

    }

    }

    }

    return 1;

    }[/pawn]

    CMD /testers

    [pawn] if (strcmp(cmd, "/testers", true) == 0)

    {

            if(IsPlayerConnected(playerid))

        {

            SendClientMessage(playerid, COLOR_GREEN, "|____ Los-Santos-RolePlay Testers ____|");

    for(new i = 0; i < MAX_PLAYERS; i++)

    {

    if(IsPlayerConnected(i))

    {

        if(PlayerInfo[pTester] >= 1 && PlayerInfo[pTester] <= 3 )

        {

            new admtext[64];

            if(PlayerInfo[pAppearList] == 1)

            {

    if(PlayerInfo[pTester] == 3) { admtext = "Tester"; }

    else if(PlayerInfo[pTester] == 2) { admtext = "Tester"; }

    else if(PlayerInfo[pTester] == 1) { admtext = "Tester"; }

    else { admtext = "Unknown Rank"; }

    }

    GetPlayerName(i, sendername, sizeof(sendername));

    if(PlayerInfo[pTesterDuty] == 0 && PlayerInfo[pAppearList] == 1)

    {

    format(string, sizeof(string), "%s - %s", admtext, sendername);

    SendClientMessage(playerid, COLOR_WHITE, string);

    }

    else if(PlayerInfo[pTesterDuty] == 1 && PlayerInfo[pAppearList] == 1)

    {

        format(string, sizeof(string), "%s - %s (On Duty)", admtext, sendername);

    SendClientMessage(playerid, TEAM_VAGOS_COLOR, string);

    }

    }

    }

    }

    }

    return 1;

    }[/pawn]

    a doua problema  este ca dupa ce dau wanted nu arata la /wanted

    [pawn] if(strcmp(cmd, "/wanted", true) == 0)

    {

        new string2[128];

        if(IsPlayerConnected(playerid))

      {

      if(PlayerInfo[playerid][pDBanned] == 1)

    {

        SendClientMessage(playerid, COLOR_GREY, "** You are Banned From Cop Duty!");

        return 1;

    }

    if(PlayerInfo[playerid][pDuty] == 0)

    {

        SendClientMessage(playerid, COLOR_GREY, "** You aren't on Duty!");

        return 1;

    }

    if(IsACop(playerid) || IsAFreecop(playerid))

    {

    new x;

    SendClientMessage(playerid, COLOR_GREEN, "Current Wanted Suspects:");

        for(new i=0; i < MAX_PLAYERS; i++)

    {

    if(IsPlayerConnected(i))

    {

        if(WantedLevel > 1)

        {

    GetPlayerName(i, giveplayer, sizeof(giveplayer));

    format(string2, sizeof(string2), "%s %s: %d", string,giveplayer,WantedLevel);

    x++;

    if(x > 3)

    {

        SendClientMessage(playerid, COLOR_YELLOW, string);

        x = 0;

    format(string2, sizeof(string2), " ");

    }

    else

    {

    format(string2, sizeof(string2), "%s, ", string);

    }

    }

    }

    }

    if(x <= 3 && x > 0)

    {

    string[strlen(string2)-2] = '.';

        SendClientMessage(playerid, COLOR_YELLOW, string);

    }

    }

    else

    {

        SendClientMessage(playerid, COLOR_GREY, "  You're not a Cop / FBI / National Guard !");

    }

    }//not connected

    return 1;

    }[/pawn]

    a treia problema cand dau wanted sau primeste wanted se face numele portocaliu si nu gasesc nicaieri cum opresc asta

    CMD /suspect

    [pawn] if(strcmp(cmd, "/suspect", true) == 0 || strcmp(cmd, "/su", true) == 0)

    {

        if(IsPlayerConnected(playerid))

        {

    if(PlayerInfo[playerid][pDuty] == 0)

    {

        SendClientMessage(playerid, COLOR_GREY, "  You are not on Duty!");

        return 1;

    }

    tmp = strtok(cmdtext, idx);

    if(!strlen(tmp))

    {

    SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/su)spect [playerid/PartOfName] [crime discription]");

    return 1;

    }

    if(PlayerInfo[playerid][pDBanned] == 1)

    {

        SendClientMessage(playerid, COLOR_GREY, "** You are Banned From Cop Duty!");

        return 1;

    }

    giveplayerid = ReturnUser(tmp);

    if (IsACop(playerid) || IsAFreecop(playerid))

    {

    if(IsPlayerConnected(giveplayerid))

    {

        if(giveplayerid != INVALID_PLAYER_ID)

        {

    GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));

    new length = strlen(cmdtext);

    while ((idx < length) && (cmdtext[idx] <= ' '))

    {

    idx++;

    }

    new offset = idx;

    new result[128];

    while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))

    {

    result[idx - offset] = cmdtext[idx];

    idx++;

    }

    result[idx - offset] = EOS;

    if(!strlen(result))

    {

    SendClientMessage(playerid, COLOR_GRAD2, "USAGE: (/su)spect [playerid/PartOfName] [crime text]");

    return 1;

    }

    if(IsACop(giveplayerid))

    {

        if(PlayerInfo[playerid][pRank] >= 6)

        {

    if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 6; }

    else { WantedPoints[giveplayerid]+= 2; }

    SetPlayerCriminalEx(giveplayerid,playerid, result);

    }

    else

    {

        SendClientMessage(playerid, COLOR_GREY,"* Your rank must be Higher or Equal to 6 to suspect other cops");

        return 1;

    }

    }

    else if(IsAFreecop(giveplayerid))

    {

    if(PlayerInfo[playerid][pRank] >= 3)

        {

    if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 6; }

    else { WantedPoints[giveplayerid]+= 2; }

    SetPlayerCriminalEx(giveplayerid,playerid, result);

    }

    else

    {

        SendClientMessage(playerid, COLOR_GREY,"* Your rank must be Higher or Equal to 3 to suspect security guards");

        return 1;

    }

    }

    else

    {

        if(WantedPoints[giveplayerid] == 0) { WantedPoints[giveplayerid] = 6; }

    else { WantedPoints[giveplayerid]+= 2; }

    SetPlayerCriminalEx(giveplayerid,playerid, result);

    }

    new y, m, d;

    new h,mi,s;

    getdate(y,m,d);

    gettime(h,mi,s);

    format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s [CMD] -> /suspect %s %s",d,m,y,h,mi,s,sendername, giveplayer, (result));

    CommandLog(string);

    return 1;

    }

    else

    {

    SendClientMessage(playerid, COLOR_GRAD2, "** You can't suspect a Cop !");

    }

    }

    }

    else

    {

    format(string, sizeof(string), "** %d is not an active player.", giveplayerid);

    SendClientMessage(playerid, COLOR_GRAD1, string);

    return 1;

    }

    }

    else

    {

    SendClientMessage(playerid, COLOR_GRAD2, "** You are not a Cop / FBI / National Guard !");

    return 1;

    }

    return 1;

    }[/pawn]

    si cu dialogul:Deci vreau sa fac un sistem de dealer prin dialog adica sa am o lista cu taote masinile asta stiu sa fac dar nu stiu sa :cand dai buy pe masina aleasa sa o puna la stats pentru a fi masina si de a putea de /v ...

    DECI REPEDE nu stiu sa fac :cand dai buy pe masina aleasa din dialog sa o puna la masini personale ale playerului si sa fie pe stoc limitat adica sa poate fi cumparate doar 3 masini de genul acela (daor daca se poate cu stocul daca nu nu conteaza)

  8. [pawn] if(strcmp(cmd, "/invite", true) == 0)

    {

        if(IsPlayerConnected(playerid))

        {

    tmp = strtok(cmdtext, idx);

    if(!strlen(tmp))

    {

    SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /invite [playerid/PartOfName]");

    return 1;

    }

    new para1;

    new ftext[20];

    para1 = ReturnUser(tmp);

    if (PlayerInfo[playerid][pLeader] >= 1)

    {

        if(IsPlayerConnected(para1))

        {

            if(para1 != INVALID_PLAYER_ID)

            {

        if (gTeam[para1]==TEAM_GREEN && PlayerInfo[para1][pMember] == 0 && PlayerInfo[para1][pFMember] == 255)

        {

    problema->         if(PlayerInfo[playerid][pLeader] == 1) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Los Santos Police Departament"; ChosenSkin[para1] = 71; SetPlayerSkin(para1, 71); }

            else if(PlayerInfo[playerid][pLeader] == 2) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Los Santos FBI"; ChosenSkin[para1] = 286; SetPlayerSkin(para1, 286); }

            else if(PlayerInfo[playerid][pLeader] == 3) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "National Guard"; ChosenSkin[para1] = 287; SetPlayerSkin(para1, 287); }

            else if(PlayerInfo[playerid][pLeader] == 4) { PlayerInfo[para1][pTeam] = 1; gTeam[para1] = 1; ftext = "Firemen/Ambulance"; ChosenSkin[para1] = 70; SetPlayerSkin(para1, 70); }

            else if(PlayerInfo[playerid][pLeader] == 5) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "Surenos"; ChosenSkin[para1] = 116; SetPlayerSkin(para1, 116); }

            else if(PlayerInfo[playerid][pLeader] == 6) { PlayerInfo[para1][pTeam] = 6; gTeam[para1] = 6; ftext = "La Famiglia Sinatra"; ChosenSkin[para1] = 125; SetPlayerSkin(para1, 125); }

            else if(PlayerInfo[playerid][pLeader] == 7) { return 1; }

            else if(PlayerInfo[playerid][pLeader] == 8) { PlayerInfo[para1][pTeam] = 10; gTeam[para1] = 12; ftext = "Hitman Agency"; ChosenSkin[para1] = 249; SetPlayerSkin(para1, 249); }

            else if(PlayerInfo[playerid][pLeader] == 9) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "ABC Studio"; ChosenSkin[para1] = 148; SetPlayerSkin(para1, 148); }

            else if(PlayerInfo[playerid][pLeader] == 10) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "Taxi Cab Company"; ChosenSkin[para1] = 255; SetPlayerSkin(para1, 255); }

            else if(PlayerInfo[playerid][pLeader] == 11) { PlayerInfo[para1][pTeam] = 12; gTeam[para1] = 12; ftext = "School Instructors"; ChosenSkin[para1] = 59; SetPlayerSkin(para1, 59); }

            else if(PlayerInfo[playerid][pLeader] == 14) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "Yamaguchi"; ChosenSkin[para1] = 169; SetPlayerSkin(para1, 169); }

            else if(PlayerInfo[playerid][pLeader] == 15) { PlayerInfo[para1][pTeam] = 15; gTeam[para1] = 15; ftext = "Chornaya Bratva"; ChosenSkin[para1] = 258; SetPlayerSkin(para1, 258); }

            else if(PlayerInfo[playerid][pLeader] == 16) { PlayerInfo[para1][pTeam] = 5; gTeam[para1] = 5; ftext = "La Vice"; ChosenSkin[para1] = 143; SetPlayerSkin(para1, 143); }

            else { return 1; }

    GetPlayerName(para1, giveplayer, sizeof(giveplayer));

    PlayerInfo[para1][pMember] = PlayerInfo[playerid][pLeader];

    PlayerInfo[para1][pRank] = 1;

    printf("AdmCmd: %s has invited %s to join %s.", sendername, giveplayer, ftext);

    format(string, sizeof(string), "  You have Joined the %s, you were invited by Leader %s", ftext, sendername);

    SendClientMessage(para1, COLOR_WHITE, string);

    format(string, sizeof(string), "  You have Invited %s to join the %s.", giveplayer,ftext);

    SendClientMessage(playerid, COLOR_WHITE, string);

    }

    else

    {

        SendClientMessage(playerid, COLOR_GREY, "  That player is currently Wanted / a Different Team / or already a Family Member.");

        return 1;

    }

    }

    }//not connected

    }

    else

    {

    SendClientMessage(playerid, COLOR_GRAD1, "  you are not authorized to use that command(leaders only)!");

    }

    }

    return 1;

    }[/pawn]

    C:\Users\user\Desktop\Sv samp 0\gamemodes\R-RP.pwn(28048) : warning 219: local variable "idcar" shadows a variable at a preceding level

    C:\Users\user\Desktop\Sv samp 0\gamemodes\R-RP.pwn(50057) : error 047: array sizes do not match, or destination array is too small

    Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

    1 Error.

  9. buna ziua meam luat si eu un game mod nou si imi da 6 erori:

    C:\Users\user\Desktop\LARP\gamemodes\XTreamE.pwn(474) : error 021: symbol already defined: "Time"

    C:\Users\user\Desktop\LARP\gamemodes\XTreamE.pwn(714) : error 021: symbol already defined: "PlayerPos"

    C:\Users\user\Desktop\LARP\gamemodes\XTreamE.pwn(2358) : error 028: invalid subscript (not an array or too many subscripts): "Time"

    C:\Users\user\Desktop\LARP\gamemodes\XTreamE.pwn(2358) : warning 215: expression has no effect

    C:\Users\user\Desktop\LARP\gamemodes\XTreamE.pwn(2358) : error 001: expected token: ";", but found "]"

    C:\Users\user\Desktop\LARP\gamemodes\XTreamE.pwn(2358) : error 029: invalid expression, assumed zero

    C:\Users\user\Desktop\LARP\gamemodes\XTreamE.pwn(2358) : fatal error 107: too many error messages on one line

    Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

    6 Errors.

    Linia -2358-

    [pawn]Time[playerid] = 1;[/pawn]

    Linia -714-

    [pawn]new Float:PlayerPos[MAX_PLAYERS][6];[/pawn]

    Linia -474-

    [pawn]new Time[MAX_PLAYERS];[/pawn]

    Multumesc Anticipat

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.