Jump to content

Fist

Members
  • Posts

    433
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Fist

  1. Fist

    Custom objects

    When does Editor 2.0 come out?
  2. wikipedia is the best teacher, also supports many languages so if even you don't understand English good enough you can just use your national one, so... Don't be lazy, read and put time into it.
  3. http://lua-users.org/wiki/PatternsTutorial in more exact words. use string.find("str","mtasa://"); function.
  4. server has been closed for a long time but then i sold it and it somehow got leaked by a brazilian guy named "Sil3nce". Whatever, maybe i'll soon release full original code.
  5. Fist

    Cryptocurrency

    if bitcoin is dropping so hugely in price lately, it's all gonna die pretty damn soon with bitcoin.
  6. The real question here is, is it worth at all trying to secure it that highly? To make such API is matter of 5 to 10 minutes but what's point? Lua, is such an easy language, especially in MTA. There's not much effort needed to make anything really, just lots of research if you are new. For experienced player it's just matter of the mood, at least for me. Other question is, why you want to make such security for a resource? If you sell it, then give buyer full uncompiled version, unless price is really, really low. Like 1$. But if it's quite expensive, buyer deserves a source code.
  7. i can sell you full pubg gamemode which has all needed features to function correctly, including this hud too. PM me for more info or add me on skype reals12.
  8. I made a while ago custom command handler for normal chat, but you can easily remake it for your chat. https://community.multitheftauto.com/index.php?p=resources&s=details&id=14380
  9. as the title says, i'm selling some dayz scripts and even gamemode, also i can sell PUBG gamemode which works perfectly with no bugs and clean code. Also i offer requests, which means i can make a script what you wanted for money of course. You can add me on skype reals12
  10. lol they added an edited version of DayZ to PUBG gm into 2017 recap topic. LoL
  11. i recommend to anyone who wants to help, not to help. Due that almost everyone who has dayz 0.6 has a leaked version not a bought version plus on original gamemode there isn't even such function "playerGetDamageDayZ" so it's definetly leaked one that he has.
  12. "If you find any bugs or anything like that due that this is a gamemode made from 0, you can contact me here about it, i'm the creator of it."
  13. Hello, i'm Fist from this forum, recently i started working on a new gamemode for MTA, called PUBG, some of you may know it from original game which of course is PUBG. Today i finally decided to open my server. Our community is unfortunately only in Latvian on the webpage, but the server is going to be fully international, this means anyone from any language is welcome here to play. Here's going to be some shots from the server. Server is in other languages too, not only in Latvian, theese pictures were taken 2 days ago for an ad in our homepage for Latvians, i just didn't want to take new ones on English language. TIP: You can split items by holding left ctrl while moving items with drag&drop. If you find any bugs or anything like that due that this is a gamemode made from 0, you can contact me here about it, i'm the creator of it. Here's finally an ip you can connect to IP: 194.19.245.102:22003
  14. nevermind, problem solved.
  15. so, i have here a bug with parachute resource. After player lands to ground his rotation for other players is incorrect. It stays in 1 rotation to no matter what.
  16. i recommend you using dx fully for really almost every ui, it just runs so much faster than an actual gui. Maybe it's a bit slower to make if u do it without any libs, but it's definetly worth it if you know how to style with it.
  17. with triggerClientEvent and triggerServerEvent on other way around, but i recommend you just setting hat model to an element data so it's easier for you to make it. Element datas are synced between server and client on change, from both sides.
  18. there is no way doing it through server, and you don't want that either, because if you would hide hat through server when player aims then everyone would see it disappear from his head when he aims with sniper rifle. What you want to do is trigger a custom event on client which sends model to client and stores it into a variable when hat is created for that player and when is removed hat then send again to client that hat was removed so it doesn't throw warnings out also there's an easier version, just set player data "santahat" the model of hat, then check if weapon is aiming with getPedTask() on onClientRender event so it's instantenous and if player is aiming set models alpha to 0 like @aka Blue said or just set element position to 0,0,0, boneattach later will reposition to bone when play won't aim anymore. Also don't forget to remove hat when player disconnects or gets banned, otherwise it's gonna stay in air.
  19. nevermind i solved this issue, if anyone else wonders how to do it, here's how. iprint((orginalDist-currentDist)/orginalDist)
  20. hello, once again i'm here with a little problem. I wanted to know how can i reverse math algorithm? For example, i have this. lcoal currentDist = 100; local originalDist = 500; iprint(currentDist/originalDist); -- this will return 0.2; but i want it to be other way around, so it gives me 0.8 not 0.2. Ty in advance!
  21. i did it 'cause i recently read somewhere about garbage collection, didn't read it fully though. So each time ped is being killed it doesn't create a extra variable inside that event handler but instead uses already defined one. I don't know if that helps but it doesn't hurt giving it a try.
  22. This will only work on specified peds, this ain't cool to do every ped hand by hand, only if you want them to be in particular area. This one is way better, it will work for every ped that has been killed. server side: local reward; addEventHandler("onPedWasted",root,function(_,killer) if (killer and getElementType(killer) == "player") then reward = math.random(1000,5000); givePlayerMoney(killer,reward) end end);
  23. ok thank you for your help.
  24. actually, i dropped it off making it with object. I did it with dx, works perfectly, previously it lagged because i was drawing way to many of them, now i optimized it and works so well. Only thing what i don't know, is how i can make dxCreateTexture animated? Like wall is sparking like in default pubg zone wall, like in this image. http://prntscr.com/hm6o2w also when i change width of dxDrawMaterialLine3D then texture stretches too, is there a way to make it just like 50x50 just which repeats by itself, so size stays untouch and it fills whole thing of dxDrawMaterialLine3D
×
×
  • Create New...