Jump to content

crismar

Members
  • Posts

    263
  • Joined

  • Last visited

Everything posted by crismar

  1. crismar

    Aflare parola

    Probabil vrea gen sa afle parola pe care o foloseste vreun copil la toate conturile, credeam ca s-au mai dus persoanele astea de pe MTA.
  2. crismar

    Aflare parola

    Nu vrei sa faci asta. Trebuie sa stii ce algoritm de criptare este. In fine, renunta la ideea de decriptare, e pur si simplu sub normele bunului simt.
  3. Spor la scriptat. Cea mai simpla metoda. playSound3D attachElements setElementData getElementData
  4. Totodata, pe lagna faptul ca RP'ul din exterior e TOTAL DIFERIT de RP'ul in romana, serverele din exterior in general sunt mai stricte, iar copii de 10 ani nu pot sa respecte asta. Eu, la 11 -12 ani am inceput se joc pe Valhalla Gaming si mi-am construit drumul pana la unul din gradele de conducere ale unei mafii. Acolo, pot sa jur cu mana pe inima ca acolo am invatat engleza, la un nivel care m-a dus pana aproape de olimpiada nationala de engleza. In engleza RP'ul era adevarat, cel din romana a fost alterat cu prostii Mihailescu style: /do TRAGE /do TINTESTE. Macar de se rola, copii fac si ei un bind, si adminii dau jail daca saracii uita sa bage bindu, nu ca adminii stiu ceva mai mult RP, multi dintre ei sunt chiar mai incompetenti decat unii jucatori. Exemplu: Eu am rolat pe Mihailescu ca pe Valhalla, am primit jail ca fac Metagaming. Motivul: Nu e voie sa pui numele in /me daca nu-l cunosti. => Cacat, mare de tot. Pe RP nu se doneza pentru masini pt. ca nu are sens, practic daca eu sunt smecher si am 10 euro pot sa-mi iau 2-3 masini in timp ce "ratatii" se chinuie pentru un jaf de masina. Inarmati-va cu VPS'uri si dati tare cu ele in orice misca.
  5. RomaniaZ Roleplay = Nu face parte din comunitatea mea. Just a note.
  6. crismar

    /jp

    isObjectInACLGroup aclGetGroup
  7. crismar

    Staff image

    So he basically copied something from the internet, put it here and asks us to make it work. #nicetrybro
  8. So add it, we're not paid scripters. Learn to do something by yourself too.
  9. Adapting resources is harder then making them yourself. Give it a try, make the GUI wth Gui Editor, make sure you rename each GUI element (i personally dont like their name format 'GUIEditorButton[1]' etc). If you ahve troubles after you tried, you can come here and we'll be more then glad to help you.
  10. Or just have a MySQL column 'already_logged' which you change based on user actions then alter it with onPlayerQuit and your custom onPlayerLogin/onPlayerLogout events.
  11. Eu as face cu timere si engineApplyTexture (sau cum era functia aia).
  12. crismar

    script

    Ok that priority argument was the dumbest idea I could ever have lol.
  13. We're not here to write you scripts. I provided you a fully functional scrpit which you can easily modify by changing commandHandler with a eventHandler. And first line provides you with a wiki-like sintax, once again I provide you already more then you could ask for.
  14. local newAreas = { {"Area_Name1", 500, 500, 500, 100, 50}, {"Area_Name2", 900, 900, 900, 900, 100, 50} -- Area Name, posX, posY, posZ, posWidth, posHeight } function disableGTAZones() setPlayerHudComponentVisible(source, "area_name", false) outputChatBox("This server uses custom GTA SA Zones.", source) end addEventHandler("onPlayerJoin", root, disableGTAZones) function createNewZones() for i, v in ipairs(newAreas) do local colZone = createColRectangle(newAreas[v][2], newAreas[v][3], newAreas[v][4], newAreas[v][5], newAreas[v][6]) setElementData(colZone, "zone_name", newAreas[v][1]) end end addEventHandler("onResourceStart", resourceRoot, createNewZones) function printNewZoneName(theZone) if getElementType(source) == "player" then outputChatBox(getElementData(theZone, "zone_name").." zone entered!", source, 255, 0, 0) end end addEventHandler("onColShapeHit", resourceRoot, printNewZoneName) I can alternatively sell you a resource which does just this, based on XML, allowing you to create zones by taking 4 points on the map (easier to create). You can also set zone names and add other properties such as entry restriction etc. Anyway, the script I wrote above should do the job.
  15. crismar

    script

    function cancelChat() cancelEvent() end addEventHandler("onPlayerChat", resourceRoot, cancelChat) Also use the priority argument for addEventHandler.
  16. crismar

    OOP

    https://wiki.multitheftauto.com/wiki/SetVehicleColor Maverick1 = Vehicle(487, Vector3(0, 0, 0)) Maverick1:setColor(255, 0, 0, 255)
  17. local adminList = { {"SERIAL_ONE", 69}, {"SERIAL_TWO", 69} } function isAdminInList() for i, v in ipairs(getElementsByType("player")) do local serial = getPlayerSerial(v) for k, d in ipairs(adminList) do if d[1] == serial then outputChatBox(getPlayerName(v).." | Level: "..d[2], root, 255, 0, 0) end end end end isAdminInList() Try it, server sided obviously.
  18. Add "download" attribute in Meta.xml as "false" for all mod files. Then use this: local downloadFiles = { -- Add your mods in this table in format: {string theDFF, string theTXD, int theVehicleModel} } function loadMods() for i, v in ipairs(downloadFiles) do downloadFile(v[1]) downloadFile(v[2]) texture = engineLoadTXD(v[2]) engineImportTXD(texture, v[3]) struct = engineLoadDFF (v[1], 0) engineReplaceModel(struct, v[3]) end end addCommandHandler("loadmods", loadMods, false)
  19. crismar

    OOP

    Maverick1:setColor(255, 0, 0, 255) Try setColor takes 4 integer arguments, RGB and I belive Alpha.
  20. Pe langa faptul ca esti un inapt, mai ai si tupeul sa ma faci prost. Folosesti un gamemode furat, editat, care la randul lui a fost furat din nou. Lasa-te de MTA, esti prea but pentru forumul asta. 'Atunci inseamna ca eu il fur'. E ca si cum cineva fura o masina, tu o gasesti si o folosesti ca si cum e ta, dar nu te numesti hot ca nu tu ai furat-o. Bastardule.
  21. If you've got no idea how Lua works, stop trying to open a server. Anyway, here's how to do it: After adding mods in XML, add for each attribute "download" and set it to "false". Then you can addEventHandler for onPlayerLogin (f.e) and downloadFile for each mod you have. This way players can join the server and download the mods subsequently.
  22. Si inca ceva, comunitatea un e datoare sa te ajute pe tine, un incompetent de prima clasa sa faci bani dintr-un gamemode despre care nici 1% nu stii, noi suntem aici sa-i ajutam pe cei care chiar vor sa invete, din pacate nu prea avem pe cine. Iti garantez ca nici 1 procent din scriptul de RP nu l-ai intelege. Si iti garantez ca nu stii RP. Nu stii istoria serverului vG, cel care a creat resursa, si mai presus de toate, nu stii ce oameni au fost creatorii RP'ului. Fa-ti un bune si scuteste-te de a-ti face un alt server patetic de 1 luna, pe care apoi sa-l inchzi din lipsa de jucatori sau din lipsa de milioane de euro.
×
×
  • Create New...