[Release] Weapons On Back

How does this function with replaced weapons?

Replaced both the micro and regular SMG and the micro shows the old model
and the SMG is lacking textures?

im using zap and this aint working any help ???

Any idea on how? I know through ESX the only way to load a players actual models is by first being a random PED.

Same issue here.

Can you share how you accomplished this so that on initial spawn, they don’t disappear or fall to the ground?

I triggered a function from es_extended after player spawned. The function changes my PlayerSpawned boolean in the weaponsOnBack script to true, then it allows the script to place the weapons on the players back. Works awesome! No more weapons on the floor -.-

Hello! Can you share me to your idea for no drop weapons after login?

Don’t allow weapons to be spawned on the players back until esx tells the script the player has spawned. Trigger a function from es_extended/client/main.lua that sets PlayerSpawned to true. Then if PlayerSpawned == true allow weapons to spawn after a short Citizen.Wait :slight_smile:

Does anyone have one were the shotgun and carbine are on separate sides of your back?

updated cords for chest
back_bone = 24816,
x = 0.10,
y = 0.21,
z = -0.05,
PNG

4 Likes

@minipunch six months ago u said u was working on it to be command based its taking quite a while

If you want a toggle then check out [Release][ESX & Non-ESX] Holster Weapon It looks like it came out before this one…

1 Like

I’m sorta new to developing and I understand the idea that you had to stop the weapon drops. I’m just not sure how to actually write that into code. could you explain to me how you would write that? also did that fix the issue of the weapons not appearing on your back when you spawn in?



Can you help me?
baseball bat

3 Likes

Why does the torch look like a knife?

Does anyone know the fix for the double pump shotgun on the back?

Anyway to make this attach the custom model for a weapon? I have a streamed AR which just shows up as a messed up textured default rifle

Great script, seen it in many servers but haven’t added it to mine as it can be a bitch if someone has a vest on. It can show up in there vest partially and doesn’t look that great. Also some people may prefer not to have an AR slinged on there back. So my suggestion is a command which allows a player to choose if they can sling the AR or not. So maybe a command like “arsling on” and “arsling off”. Hopefully you take this in consideration :wink:

Has anyone created an enable and disable command for this?

@JSRPOwner

I think there is a release somewhere on this forums recently that someone made which supposedly added a toggle feature to this script as a “re-release”; could look for that.

Other than that, there has not been a toggle added to this script officially yet.