https://open.mp logo
Join Discord
Powered by
# general
  • c

    cool-battery-88185

    01/22/2023, 3:35 PM
    and you also removed some
  • c

    cool-battery-88185

    01/22/2023, 3:36 PM
    powershell has issues with it
  • m

    many-telephone-85159

    01/22/2023, 3:36 PM
    did what he asked for
  • r

    red-potato-31200

    01/22/2023, 3:36 PM
    Yes but there's a bigger issue at hand here.
  • c

    cool-battery-88185

    01/22/2023, 3:36 PM
    for some reason he's getting that user error too which I don't know how he managed to do it
  • m

    many-telephone-85159

    01/22/2023, 3:36 PM
    I don't even know what's the issue, it was working just fine before
  • m

    many-telephone-85159

    01/22/2023, 3:36 PM
    and suddenly this happened
  • r

    red-potato-31200

    01/22/2023, 3:37 PM
    Either way I gave them all the data after which they proceeded to ping me 4 times with attitude, I think they'll manage without me now
  • c

    cool-battery-88185

    01/22/2023, 3:38 PM
    change this line to this first
    Copy code
    "args": [ "\${file}", "-Dgamemodes", "'-;+'", "'-(+'", "'-d3'"],
  • r

    ripe-judge-67309

    01/22/2023, 3:38 PM
    Might be a dumb question but is there something like object files in pawn like in c++?
  • c

    cool-battery-88185

    01/22/2023, 3:38 PM
    no
  • r

    ripe-judge-67309

    01/22/2023, 3:39 PM
    It’s annoying to recompile big map files again and again
  • r

    ripe-judge-67309

    01/22/2023, 3:39 PM
    Is it possible to implement such thing?
  • r

    red-potato-31200

    01/22/2023, 3:39 PM
    Split your maps into smaller onces, load them as sidescripts
  • r

    ripe-judge-67309

    01/22/2023, 3:39 PM
    Sidescript?
  • r

    red-potato-31200

    01/22/2023, 3:39 PM
    Another solution, have a map parser or DB, and don't compile maps at all - some people literally put their maps in DB
  • c

    cool-battery-88185

    01/22/2023, 3:39 PM
    if you are using open.mp, yes, a side script
  • r

    ripe-judge-67309

    01/22/2023, 3:40 PM
    What’s the benefit?
  • r

    ripe-judge-67309

    01/22/2023, 3:40 PM
    Does it not get compiled
  • r

    red-potato-31200

    01/22/2023, 3:40 PM
    I did say "split", and smaller ones plural
  • c

    cool-battery-88185

    01/22/2023, 3:40 PM
    it does, but you dont have to recompile them everytime you make a small change in your gamemode
  • r

    red-potato-31200

    01/22/2023, 3:40 PM
    The idea is, you'd only rebuild the parts you're changing at any given time
  • r

    ripe-judge-67309

    01/22/2023, 3:40 PM
    Oh ok i get it now
  • r

    red-potato-31200

    01/22/2023, 3:40 PM
    eg split the bits that belong in SF, LS, and LV into 3 separate scripts
  • r

    red-potato-31200

    01/22/2023, 3:40 PM
    Obviously if that's not enough you can split further
  • r

    ripe-judge-67309

    01/22/2023, 3:41 PM
    Haven’t used sidescripts aka filterscripts in a while now
  • r

    red-potato-31200

    01/22/2023, 3:41 PM
    ↑ this is a viable alternative mind you
  • r

    red-potato-31200

    01/22/2023, 3:41 PM
    and more scalable in the long run (filterscripts in SAMP have a hard limit)
  • r

    ripe-judge-67309

    01/22/2023, 3:41 PM
    Is there an include or plugin for a map parser
  • r

    red-potato-31200

    01/22/2023, 3:41 PM
    I'm not sure if I would be able to find it but now that you mention it I'm fairly sure it exists yes
1...382813828238283...40089Latest