I’ve noticed a lot more framework specific mods get copycatted over to other frameworks if there isnt already a clone of the script they need… ( usually poorly adapted )
Devs, we can stop this easily by adding in code that caters to MULTIPLE frameworks.
This is how i’ve been doing it…
if(GetResourceState('qb-core')=="started"){
/// do qbcore things here...
}
else if(GetResourceState('es_extended')=="started"){
// do esx things
}
else{
// do standalone or "non standard" framework here.
}
It’s a couple lines of extra work, that guarantees larger audience and less plagiarism.
Hopefully this lets you make code that will run in any framework.
If you know of a better way to include all frameworks without a massive headache, i’d love to hear it.
Just thought this might be helpful for some.
Enjoy!