Restock weapon system
#1

So I'm trying to somewhat create a restock weapon system. I want it so I get a higher amount of weapons stored in the locker every time I restock. The way it's supposed to be planned is to get a crate through the trucker job by loading it and then unloading it in a truck and then refilling the weapon stock in some sort of a locker.

I got everything done except for the restock weapon system. I'm not quite sure how to begin with the scripting.
Reply
#2

You've got this plan and all, but yet you need someone to actually make it... That's what the Looking for Scripter thread is for.

There's examples out there, and in particular the NGG script has exactly that in its script, so if you needed an actual example, you could easily look there.


A real basic example of this would simply be /getmats on the original godfather script... Instead of being a player inventory it increases, you'd simply use a business inventory.

The usage of the crate and the animation it uses, is almost irrelevant to the actual code for the tracking of the goods, and the processed business inventory.


Another is this... https://sampforum.blast.hk/showthread.php?tid=592925
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)