You do it through missions.lua and there is a guide here:
Does it work with ESX?
yes it does, but you need to make some minor config adjustments. I think in client.lua and maybe server.lua
Search for âESXâ in them to find the sections to turn on ESX
latest thread and download above
Its perfect and my server love it, however I have spent the weekend trying to remove the controller bindings as they are massively conflicting with flying!
Could someone please point me towards where to disable anything âbindyâ, pets hates/complaints currently are, Bandito spawn, air supply, both most annoying is the text pop up along the bottom of the screen, we fly full power most of the time, and use our rudder this triggers a pop up even out of missions.
I have tried --commenting out various things, broke thins in the process,
it does say that all things are configurableâŚ
Hey!
Ive got two Problems.
First. When somebody spawns or the server restarts: all mission gets activated an the last one stays active. I want No mission started as default.
second Problem: I want that missions can only be started from Markers around the map (like streetraces; walk in an press E eor smth)
Thanks for your help!
There is a variable in server.lua called TimeTillNextMission or something, set that to a bigger number.
This will stop server launching mission when first player logs in.
For the other question, use MissionTriggerRadius setting with a mission. That will set ra adius around an 'âMâ icon on the map where player needs to be within to start the mission. Race missions use markers, but not regular missions. You would need add Marker support yourself.
@VXF-t0et0e
Hopefully you sorted this out by now. Bandito can be disabled via Missions.lua
You need to go into client.lua for bindings. FiveM have a page for control bindings you can use to change.
You will need to find and replace or delete the bottom text pops, in client.lua
Hello, im still kind of new to making a server and Im working on a little project for my friends and I. I have tested the mod for a while and it seems to work just fine and I really like it so far, but I cant get money for a completed mission. (It substracts a sum when equipping things tho) The error I get says the following: âSCRIPT ERROR: @mrp-missions-v3/client.lua21302: attempt to concatenate a nil value (global âMISSIONSHAREMONEYAMOUNTâ)â
Hey! Quick question: is the safehouse a mandatory part of the mission system? Iâm trying to create a server that implements a mission system simarly to an RPG, where you approach a ped and trigger a mission to start which provides rewards upon completion. Would this system be able to serve that purpose?
Safehouses are not mandatory you can turn them off, and auto-give weapons to players when the mission starts, or drop pickups are certain locations. Itâs in the config lua guide⌠You can use MissionTriggerRadius at the pedâs location to spawn a mission.
Have you changed any code in client.lua? If so does vanilla resource work OK?
It should.
If you are still having problems with vanillaâŚ
The code just above the offending line you could try changing to a longer delay from 1000 to 5000 and see if that fixes it⌠i.e: GetGameTimer() - starttime >= 5000
If not, try removing this section:
if GetGameTimer() - starttime >= 1000 then
âprint(âbreakâ)
break
end
if string.len(MISSIONSHOWTEXT) > 0 and MISSIONSHOWTEXT ~="WASTED" then
local starttime= GetGameTimer()
while not MISSIONSHAREMONEYAMOUNT do
Wait(1)
if GetGameTimer() - starttime >= 1000 then
--print("break")
break
end
end
--MISSIONSHOWMESSAGE = MISSIONSHOWMESSAGE .. MISSIONSHAREMONEYAMOUNT
--MISSIONSHAREMONEYAMOUNT=nil
Wait(1000)
MISSIONSHOWMESSAGE = MISSIONSHOWMESSAGE .. MISSIONSHAREMONEYAMOUNT
MISSIONSHAREMONEYAMOUNT=nil
If you dont care about players sharing mission money you can set MissionShareMoney = false in missions.lua. I recommend having it shared though on a lot of missions where kills have rewards, due to some flakiness on the host machine.
also, this is the main thread now, this one is outdated: [Release] 'Crackdown' Missions System v3 & GitHub for your own missions
Hello! I tried both of your options. The higher wait value doesnt change a thing, and with the deleted part of the code the error vanishes but nobody still gets money. I just would like it to count the money as a leaderboard of some sort, not to buy stuff. Are there other modifications I might be lacking that I need for that?
For future responses I will then go over to the updated thread.
Edit: It worked with disabling Shared Money, it now also counts earned amounts. I just cant seem to find a scoreboard. Pushing the mouse wheel in just displays âNameâ âMission Countâ âTotal Money earnedâ âMoney per sessionâ in a font that looks like Times New Roman '
Its OK, since we are in this thread, we can stay here on this topic, since it will be easier.
First off, are you grabbing everything from: GitHub - ddraigcymraeg/mrp-missions: Crackdown Mission Resource for FiveM ?
So this is happening for you in the vanilla resource without any edits from you?
Could you see if it happens with this one below? Even though it says 2.9.9i it is the latest code that should be in the github repo. Let me know if the scoreboard is fixed as well. I dont have that issue either. I would also disable all other custom resources to test. Also disable OneSync if you are using it. I have a OneSync server.lua file near the bottom of the other thread that supports OneSync or should.
mrp-missions-2.9.9i.zip (1.7 MB)
How can you disable the Super Abilities when at safehouse? We just want to disable the super jump, super run, and super swim. Thx in advance
look for crackdownmode in missions.lua and turn it to false.
@ChanaskiChess you do realize there is a new version v3 on Github?
Let the comments I annotated right below the command do the talkingâŚ
ensure mrp-missions-v3
##Seriously, who thought it was a good idea to make the missions ten times HARDER then The Doomsday Scenario Act III Finale? This ragtag group of Ammu-nation workers, N. Yankton Triads, Cliffford Juggernauts, Russian Operatives, and⌠Lost MC Bikers⌠makes Cliffford look like a joke.
##Umm⌠the Aircraft, Tanks, and APCs donât show as those respective icons, which makes preparing for them impossible, especially when they peg you from a mile away somehow. And when you take them down, you donât take the people inside down with it, and apparently neither the guns on the aircraftâs corpse. And when the aircraft corpse despawns: congratulations, you softlocked the addon.
##Snipers and miniguns. Every enemy seems to have either. Miniguns will shred you from sniper rifle distances, and the snipers give Sinon a run for her money. Even SHE fears them, mainly how they outnumber her 10 to 1.
##Railguns?!? Thereâs a reason Rockstar Games doesnât give the NPCs Railguns, much less than to a Juggernaut with aimbot.
##Up-N-Atomizers? Rockstar keeps these out of the hands of NPCs like how they do the Stun Gun, and probably for a good reason.
âAnd when the aircraft corpse despawns: congratulations, you softlocked the addon.â
Never noticed or had that before, even after many hours of playtesting and gameplay. Could you give me an example.
As far as your other comments, out of the box , this resource and missions are NOT intended to be played exactly like regular GTAO missions (this is why its default game mode is called Crackdown). Hence the (optional but necessary) player buffs like higher heath, super jump and super swim/run, health regen etc⌠and the weapon loadout you get is more than enough to take on missions, even with 1 player if you play enough. The Crackdown game mode gameplay has been balanced this way, and the players need to discern if it is worth holding back (to regen or snipe ) and play defensively or going right in at any moment. This is meant to be a NEW experience, not a recreation of GTAO.
Its deliberately meant to be something different, than what you expected (sounds like). For example the Lost MC models added to the mission are merely mercenaries in the missions, there is no lore there with them as they fight with other mercenary looking models. All this is deliberately VERY customizable to make the resource more like normal GTA missions and even R.P. missionsâŚIts been used and tested for this as well, which is really where the power of the resource comes from, its customizability.
railguns can be a pain in the ass now doubt, but only spawn on juggernauts, which are considered âBossâ level. Same with Up-N-Atomizers only spawn with Aliens (essentially âBossâ level as well), virtually always. Its hard to get back up if it is just you against an enemy blasting you with one until you are dead, this is more a problem with the railgun since it can shoot at range.
EDIT: Yeah, you are expecting something exactly like GTAO, which this is not meant to be with the default game mode. Its a similar but overall different playstyle, GTA mixed with Crackdown game and HALO. As far as miniguns hitting you from sniper rifle ranges, that is impossible. Each gun has a native range in GTA5, and the minigun does not have the range of a sniper rifle.
As far as plane icons etc⌠doesnt make sense since the blips are there to show where peds are, as well as giving vertical Z information. In assassination missions target ped blips need to be seen, which when in a vehicle would typically overwrite the vehicle icon anyway. Its very easy to distinguish between planes, helis, vehicles and walking peds just based on how they move. Also the player gets stacked with all kinds of weapons, to deal with them.
With the despawning plane yeah like I said let me know how that happens, since any mission vehicle is set as one, and will only despawn at the end of the mission, where it is carefully removed.
Also feel free to edit and use the resource for your liking, thats why it is on github
That red arrow is a Bombushka. The crew is still alive and in the Bombushka, which somehow is both despawned and still there at the same time (but still has the guns in a usable state). It happens to all aircraft that is indicated by a purple dot(s), and unless you know where the NPC is seated in the aircraft and if the seat is even in a position where you can peg the ped in the aircraft with a bullet, youâre not killing the ped and therefore softlocking the addon. It doesnât happen to those indicated by red dots. Iâm not even sure how this is even possible to pull off.