• How can i make single shipments?
    11 replies, posted
I have a tab with shipments and that shows the guns and the amount : 5. But i have a weapons tab and i want it to be a single weapons shown in the tab and dropped on the floor when bought. But the problem is i tryed copying over the shipments file content ( code inside the shipments.lua) to the weapons.lua file the guns don't pop up ? Does anyone know how to fix this?
[QUOTE=carlossc;46243455]I have a tab with shipments and that shows the guns and the amount : 5. But i have a weapons tab and i want it to be a single weapons shown in the tab and dropped on the floor when bought. But the problem is i tryed copying over the shipments file content ( code inside the shipments.lua) to the weapons.lua file the guns don't pop up ? Does anyone know how to fix this?[/QUOTE] It would help If you would post your weapons.lua file.
[QUOTE=tripps41;46246248]It would help If you would post your weapons.lua file.[/QUOTE] [url]http://pastebin.com/S5Cz4ZJg[/url] it shows 84 weps in the tab but its not visable on all jobs even the gun dealer and yes the allowed job is matched with the current jobs.
Is that the shipments.lua file? If so it is supposed to be like this. [QUOTE]AddCustomShipment("NAME", "MODEL", "ENTITY", PRICE, 1, true, PRICESEPARATE, false, {TEAM_TEAMNAME})[/QUOTE]
[QUOTE=tripps41;46247497]Is that the shipments.lua file? If so it is supposed to be like this.[/QUOTE] nope thats my weapons.lua its not showing when i click the weapons tab with the gun dealer. The shipments are showing but not the singles in the weapons tab
How are you getting weapons.lua file? Is it in the darkrp gamemode folder or from the darkrpmodification addon?
[QUOTE=tripps41;46253422]How are you getting weapons.lua file? Is it in the darkrp gamemode folder or from the darkrpmodification addon?[/QUOTE] its in the darkrpmodification-master addon in customthings, its saids weapons.lua so im amusing i use that to insert single weapons for the weapons tab
[QUOTE=carlossc;46257040]its in the darkrpmodification-master addon in customthings, its saids weapons.lua so im amusing i use that to insert single weapons for the weapons tab[/QUOTE] I do not know where you are getting this weapons.lua because I do not see any file named that. And In the first post I posted I mean't shipments.lua. [IMG]http://puu.sh/cfhIR/ab57df46e9.png[/IMG]
[QUOTE=tripps41;46257097]I do not know where you are getting this weapons.lua because I do not see any file named that. And In the first post I posted I mean't shipments.lua. [IMG]http://puu.sh/cfhIR/ab57df46e9.png[/IMG][/QUOTE] I don't know where the weapons.lua came from then 0.o [url]http://gyazo.com/422fb673a3827271d64f533ba4743f30[/url] Let's say i delete the weapons.lua file, in my f4 menu i have shipments, it shows all the shipments and 5 amounts for all. Now theres a weapon tab in the f4 menu and i want there to be single weapons which a gun dealer can also buy instead of buying a shipment of them, how would i go about doing that? [editline]17th October 2014[/editline] [QUOTE=tripps41;46257097]I do not know where you are getting this weapons.lua because I do not see any file named that. And In the first post I posted I mean't shipments.lua. [IMG]http://puu.sh/cfhIR/ab57df46e9.png[/IMG][/QUOTE] i can screenshare to show you what i mean.
[QUOTE=tripps41;46257097]I do not know where you are getting this weapons.lua because I do not see any file named that. And In the first post I posted I mean't shipments.lua. [IMG]http://puu.sh/cfhIR/ab57df46e9.png[/IMG][/QUOTE] For example im using this guys f4 menu, when he shows the tabs and clicks on weapons, it shows his weapons, but for me it donest show, unless i put the code in the wrong place, how can i make it show? [url]https://www.youtube.com/watch?v=e59HHS7SkII[/url]
Because those are the default weapons. If I had to guess he does not have them disabled.
[QUOTE=tripps41;46264775]Because those are the default weapons. If I had to guess he does not have them disabled.[/QUOTE] I got the weapons to show in the weapons tab, but the problem is, it shows the price as ---- in the f4 menu, but in the shipments.lua i set it to 9500, why is it doing it?
Sorry, you need to Log In to post a reply to this thread.