Jump to content
  • 0

Ajutor


heker

Question

8 answers to this question

Recommended Posts

Guest PlayON

Da frate fix problema de MTA e=)) Doamne jur ca mor de ras :)) MTA </=> SA-MP.Daca ai sti mate ai sti c inseamna =))

Degeaba iti explic pentru ca nu sti.,..abea ai facut cateva porti...

Link to comment
Share on other sites

Posteaza comanda si te ajut :)

    if (strcmp("/garaj", cmdtext, true, 10) == 0)
    {
    if(IsPlayerInRangeOfPoint(playerid, 11.0, 1589.02050781,-1638.08789062,14.95541191))
    MoveObject(Subterranea,1589.02050781,-1638.08789062,8.34928703, 3.0);
    SendClientMessage(playerid, 0xFFE13FF, "Poarta sa deschis, in 5 secunde se inchide.");
    SetTimer("cerrar1",5000,false);

    return 1;
    }

Link to comment
Share on other sites

if(strcmp(cmd,"/garaj",true)==0)
{
    if(IsPlayerConnected(playerid))
    {
        if(PlayerInfo[playerid][pLeader] == 7)//inloc de 7 pui nr de la ce factiune vrei
        {
            if(IsPlayerInRangeOfPoint(playerid, 11.0, 1589.02050781,-1638.08789062,14.95541191))
            MoveObject(Subterranea,1589.02050781,-1638.08789062,8.34928703, 3.0);
            SendClientMessage(playerid, 0xFFE13FF, "Poarta sa deschis, in 5 secunde se inchide.");
            SetTimer("cerrar1",5000,false);
        }
        else
        {
            SendClientMessage(playerid, COLOR_GREY, "Nu esti Cop");
            return 1;
        }
    }
    return 1;
}

Modifici 7 ala de la pLeader cu ce vor muschii tai. Vezi daca merge.

logo.png

ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez.

Link to comment
Share on other sites

Asa am incercat si eu :P si imi da erorile asetea

C:\Documents and Settings\Gaby\Desktop\Zonek RolePlay\Zonek RolePlay\filterscripts\LSPDG.pwn(43) : error 017: undefined symbol "PlayerInfo"

C:\Documents and Settings\Gaby\Desktop\Zonek RolePlay\Zonek RolePlay\filterscripts\LSPDG.pwn(43) : warning 215: expression has no effect

C:\Documents and Settings\Gaby\Desktop\Zonek RolePlay\Zonek RolePlay\filterscripts\LSPDG.pwn(43) : error 001: expected token: ";", but found "]"

C:\Documents and Settings\Gaby\Desktop\Zonek RolePlay\Zonek RolePlay\filterscripts\LSPDG.pwn(43) : error 029: invalid expression, assumed zero

C:\Documents and Settings\Gaby\Desktop\Zonek RolePlay\Zonek RolePlay\filterscripts\LSPDG.pwn(43) : fatal error 107: too many error messages on one line

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

4 Errors.

Link to comment
Share on other sites

Adauga astea undeva pe la incepulul scriptului, dar punele in ordinea asta

enum pInfo
{
pKey[128],
pLevel,
pSpawn,
pAdmin,
pRegularRank,
gPupgrade,
pConnectSeconds,
pReg,
pSex,
pAge,
pOrigin,
pCK,
pMuted,
pFrozen,
pExp,
pCash,
pAccount,
pJobTimer,
pCrimes,
pWanted,
pCrimeReason[128],
pWantedLevel,
pKills,
pDeaths,
pWhyLeft[24],
pArrested,
pWantedDeaths,
pPhoneBook,
pLottoNr,
pFishes,
pBiggestFish,
pJob,
pPayCheck,
pHeadValue,
pJailed,
pJailTime,
pRobTime,
pMats,
pDrugs,
pLeader,
pMember,
pFMember,
pRank,
pChar,
pContractTime,
pDetSkill,
pSexSkill,
pBoxSkill,
pLawSkill,
pMechSkill,
pJackSkill,
pCarSkill,
pNewsSkill,
pDrugsSkill,
pCookSkill,
pFishSkill,
Float:pHealth,
Float:pSHealth,
Float:pArmour,
pInt,
pInteriorNr,
pLocal,
pTeam,
pModel,
pPnumber,
pPhousekey,
pPcarkey,
pPcarkey2,
pGangKey,
pPbiskey,
Float:pPos_x,
Float:pPos_y,
Float:pPos_z,
pPassport,
pCarLic,
pFlyLic,
pBoatLic,
pFishLic,
pGunLic,
pCopLic,
pCarTime,
pPayDay,
pPayDayHad,
pWatch,
pCrashed,
pWins,
pLoses,
pAlcoholPerk,
pDrugPerk,
pMiserPerk,
pPainPerk,
pTraderPerk,
pTut,
pTutDone,
pWarns,
pVirWorld,
pFuel,
pMarried,
pMarriedTo[128],
pFishTool,
pNote1[128],
pNote1s,
pNote2[128],
pNote2s,
pNote3[128],
pNote3s,
pNote4[128],
pNote4s,
pNote5[128],
pNote5s,
pInvWeapon,
pInvAmmo,
    pInvWeapon2,
pInvAmmo2,
pInvWeapon3,
pInvAmmo3,
pInvWeapon4,
pInvAmmo4,
pInvWeapon5,
pInvAmmo5,
pInvWeapon6,
pInvAmmo6,
pLighter,
pCigarettes,
pRequestingBackup,
pRoadblock,
pMask,
pMaskuse,
pAdminDuty,
pTesterDuty,
pHelper,
pTester,
pBlind,
pSpeedo,
pDTK,
pDSTK,
pWarned,
pHideNumber,
pSpeaker,
pRhino,
pHunter,
pHydra,
pPredat,
pSwat,
pTactical,
pSpecialF,
pDBanned,
pDM,
pDuty,
pGPS,
pFS,
pBoxiSkill,
pKneeSkill,
pKungSkill,
pGrabSkill,
pElbowSkill,
pDDFire,
pCD,
pHydraR,
pHunterR,
pRhinoR,
pPredR,
pViewPms,
pAppearList,
pAndro,
pJet,
pAmmuTrainTime,
pPistSkill,
pSilenSkill,
pDesertSkill,
pShotgSkill,
pSawnSkill,
pCombSkill,
pUziSkill,
pSmgSkill,
pAkSkill,
pM4Skill,
pSnipSkill,
pRegularCount,
pPassportTime,
pOfficerTime,
pAchievement0,
pAchievement1,
pAchievement2,
pAchievement3,
pAchievement4,
pAchievement5,
pAchievement6,
pAchievement7,
pAchievement8,
pAchievement9,
pAchievement10,
pAchievement11,
pAchievement12,
pAchievement13,
pAchievement14,
pAchievement15,
pAchievement16,
pAchievement17,
pAchievement18,
pAchievement19,
pAchievement20,
pShiftName,
pWeapon,
pWeapon2,
pWeapon3,
pWeapon4,
pWeapon5,
pWeapon6,
pWeapon7,
pWeapon8,
pWeapon9,
pWeapon10,
pWeapon11,
pWeapon12,
pAmmo,
pAmmo2,
pAmmo3,
pAmmo4,
pAmmo5,
pAmmo6,
pAmmo7,
pAmmo8,
pAmmo9,
pAmmo10,
pAmmo11,
pAmmo12,
pAtc,
pAtcRadio,
pPending,
pPendingInfo[128],
pChatMode,
pPunishment1[128],
pPunishment2[128],
pPunishment3[128],
pPunishment4[128],
pPunishment5[128],
pPunishment6[128],
pPunishment7[128],
pPunishment8[128],
pIP[24],
pLastSeen[24],
pRegistredDate[24],
pNextPunishment,
pPunished,
pTazerBullets,
pChanged,
//pSQLID,
};
new PlayerInfo[MAX_PLAYERS][pInfo];

In caz ca nu folosesti alealalte pChanged, etc, le stergi.

logo.png

ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez.

Link to comment
Share on other sites

GG Viorel 7 erori =))

C:\Documents and Settings\Gaby\Desktop\Zonek RolePlay\Zonek RolePlay\filterscripts\LSPDG.pwn(6) : error 017: undefined symbol "MAX_PLAYERS"

C:\Documents and Settings\Gaby\Desktop\Zonek RolePlay\Zonek RolePlay\filterscripts\LSPDG.pwn(6) : error 009: invalid array size (negative, zero or out of bounds)

C:\Documents and Settings\Gaby\Desktop\Zonek RolePlay\Zonek RolePlay\filterscripts\LSPDG.pwn(304) : error 017: undefined symbol "COLOR_GREY"

C:\Documents and Settings\Gaby\Desktop\Zonek RolePlay\Zonek RolePlay\filterscripts\LSPDG.pwn(310) : error 010: invalid function or declaration

C:\Documents and Settings\Gaby\Desktop\Zonek RolePlay\Zonek RolePlay\filterscripts\LSPDG.pwn(312) : error 010: invalid function or declaration

C:\Documents and Settings\Gaby\Desktop\Zonek RolePlay\Zonek RolePlay\filterscripts\LSPDG.pwn(317) : error 010: invalid function or declaration

C:\Documents and Settings\Gaby\Desktop\Zonek RolePlay\Zonek RolePlay\filterscripts\LSPDG.pwn(320) : error 010: invalid function or declaration

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

7 Errors.

Mai pe scurt ai sa imi dai niste gate la lspd bune fara buguri :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.