Jump to content

DonnySheffield

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by DonnySheffield

  1. ClassMTA Unod már a sablonos szervereket, ahol elveszett a régi, igazi roleplay hangulat? A ClassMTA célja, hogy visszahozza a rég elfeledett RP értékeket, és egy olyan közösséget építsen, ahol a kreativitás és a realizmus újra előtérbe kerül. Mit kínálunk? Egyedi, máshol nem látott scriptek: Hirdetőtábla rendszer Jármű-biztosítás Horgászat Reálisabb járműtörések És rengeteg közelgő újdonság, amelyek csak nálunk lesznek elérhetők! A ClassMTA nem csupán egy szerver – egy közösség, amely a minőségi szerepjáték élményét helyezi előtérbe. Ha szeretnél részese lenni egy folyamatosan fejlődő, innovatív világ építésének, itt a helyed! Weboldal: www.classmta.com Discord: https://discord.gg/NRYp8Cka Csatlakozz most! Lépj be, és tapasztald meg újra azt az RP élményt, amit már régóta keresel! Téged is várunk sok szeretettel!
  2. Hi all. I'm faceing one issue with my Multi Theft Auto server. I rented a server from one of the hosting company few weeks ago. In the server config file i filled up all the necessary part (i beleive). If i open MTA and i try to search for my server it's doesn't show on the list. Is anyone have solution for this issue? Thank you in advance.
  3. Hello you guys! I would like to request a little help from you, if is possible. Anyone could explain to me how can i “add SA plate” to vehicle models? example: Instead of this: https://imgur.com/a/PBf18Up to have “original plate” like this: https://imgur.com/a/ifS4uxK for your suggestions and help thanks in advance
  4. Hello guys! I'm working on one job script which is pizza delivery. Everything is working fine, but i wanted to give random salary after every customer. "fizu" mean the payment so i made random 5$ to 150$, but for some reason after every customer only give 18$ and not random. Any idea why this could happen? This is my code: fizu = math.random(5,150) addEventHandler("onColShapeHit", getRootElement(), function (thePlayer, sameDimension) if isElement(source) then if getElementType(thePlayer) == "player" then if sameDimension then local currentJob = startedJobs[thePlayer] if currentJob then local colData = getElementData(source, "pizzaCol") if colData and colData[1] == thePlayer then local carryingPizza = getElementData(thePlayer, "carryingPizza") or {} if carryingPizza[1] then local orderId = colData[2] if carryingPizza[1] == currentJob.pizzas[orderId] then local remainingPizzas = 0 local pizzaBoyElement = getElementData(thePlayer, "usingPizzaBoy") if isElement(pizzaBoyElement) then local pizzaBoyInventory = getElementData(pizzaBoyElement, "pizzaBoyInventory") or {} for k in pairs(pizzaBoyInventory) do remainingPizzas = remainingPizzas + 1 end end destroyElement(source) if remainingPizzas <= 0 then startedJobs[thePlayer] = nil setElementData(pizzaBoyElement, "pizzaBoyInventory", false) else currentJob.delivered[orderId] = true end exports.cl_core:giveMoney(thePlayer, fizu, "pizzaDelivered") setElementData(thePlayer, "usingPizzaBoy", false) setPedAnimation(thePlayer, false) setElementFrozen(thePlayer, false) triggerClientEvent(thePlayer, "pizzaDeliveredSuccessfully", thePlayer, orderId, remainingPizzas) exports.cl_hud:showInfobox(thePlayer, "s", "Sikeresen leszállítottad a pizzát! ") else exports.cl_hud:showInfobox(thePlayer, "e", "Ez a megrendelő nem ilyen pizzát kért!") end end end end end end end end )
  5. Hi all. i have a following problem. i started to edit one role play mod and because i already done lots of changes i decided to change the resource list in the server config file to make sure if i have to restart the server for some reason only the right resources are loading. I stopped the server and started again and what i saw in the console basically all the resources i can find on the ftp sever are started. Did anyone had this issue before? Any chance if one specific resource is starting all the others? I’m very new to MTA scripting and i never had this issue. I beleive if i delete the resources what i don’t need will solve my problem but wanted to find out for what reason this can happen. Thank you for your answers in advance
  6. Sziasztok egy olyan problémába ütköztem, hogy: Egy ideje elkezdtem editelni egy see mta v3 modot (nyugi nem akarok még egy ilyen modos szervert nyitni ) csak mivel mindig is seen játszottam és szeretnék megtanulni scriptelni így erre esett a választás. A szerver hostról fut na de mi is a probléma. Mivel már nagyon sok változtatást csináltam átírtam a server config fájlba a resource listet, hogy csak azokat töltse be amikre szükségem van. Újra indítottam a szervert viszont szinte minden resourcet elindít ami a resource mappában található, olyanokat is ami nincs bele írva a server config fájlba. Találkozott már valaki ezzel a hibával? Az esetleg lehetséges, hogy egy adott resource indítja el a többit? A válaszokat előrre is köszönöm szépen. Szép napot mindenkinek.
  7. Thank you so much, i will have a look.
  8. Hi all, I hope i opened the topic at the right place. I started to editing one roleplay mod just for fun and i have one issue. I removed some original building from the map to replace but the "lights" are still there. ( See attached photos ) Anyone knows how should i remove them? For answers thank you in advance. Photos: https://imgur.com/a/FnePJ5j
×
×
  • Create New...