heker Posted October 2, 2010 Report Share Posted October 2, 2010 Am facut niste porti cu MTA la lspd si am facut un filescript leam bagat merg pe baza de comanda /open dar problema este ca si civili o pot deschide :| nu am facut ceva bine in MTA :| Link to comment Share on other sites More sharing options...
Guest PlayON Posted October 2, 2010 Report Share Posted October 2, 2010 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 More sharing options...
heker Posted October 2, 2010 Author Report Share Posted October 2, 2010 Leam facut se deschid perfect dar problema este ca daca sunt civil si scriu /bariera si atunci se deschide si stiu ca nu este problema de la MTA dar am zis asa ca sa numai trec la godfather ca mi se dadea raspuns peste 10 ani :P Link to comment Share on other sites More sharing options...
kidu13 Posted October 2, 2010 Report Share Posted October 2, 2010 Posteaza comanda si te ajut :) Link to comment Share on other sites More sharing options...
heker Posted October 2, 2010 Author Report Share Posted October 2, 2010 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 More sharing options...
-=[Vyorel]=- Posted October 2, 2010 Report Share Posted October 2, 2010 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. ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez. Link to comment Share on other sites More sharing options...
heker Posted October 2, 2010 Author Report Share Posted October 2, 2010 Asa am incercat si eu si imi da erorile aseteaC:\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 effectC:\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 zeroC:\Documents and Settings\Gaby\Desktop\Zonek RolePlay\Zonek RolePlay\filterscripts\LSPDG.pwn(43) : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase4 Errors. Link to comment Share on other sites More sharing options...
-=[Vyorel]=- Posted October 2, 2010 Report Share Posted October 2, 2010 Adauga astea undeva pe la incepulul scriptului, dar punele in ordinea astaenum 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. ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez. Link to comment Share on other sites More sharing options...
heker Posted October 2, 2010 Author Report Share Posted October 2, 2010 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 declarationC:\Documents and Settings\Gaby\Desktop\Zonek RolePlay\Zonek RolePlay\filterscripts\LSPDG.pwn(312) : error 010: invalid function or declarationC:\Documents and Settings\Gaby\Desktop\Zonek RolePlay\Zonek RolePlay\filterscripts\LSPDG.pwn(317) : error 010: invalid function or declarationC:\Documents and Settings\Gaby\Desktop\Zonek RolePlay\Zonek RolePlay\filterscripts\LSPDG.pwn(320) : error 010: invalid function or declarationPawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase7 Errors.Mai pe scurt ai sa imi dai niste gate la lspd bune fara buguri :) Link to comment Share on other sites More sharing options...
Question
heker
Am facut niste porti cu MTA la lspd si am facut un filescript leam bagat merg pe baza de comanda /open dar problema este ca si civili o pot deschide :| nu am facut ceva bine in MTA :|
Link to comment
Share on other sites
8 answers to this question
Recommended Posts