Jump to content

Can you add a *loaded* gun to a player's inventory?

Recommended Posts

Posted (edited)

I know that you can use


to add items to the player during startup, and also that you can use something like

                local playerstartbag = player:getInventory():AddItem("Base.Purse");

to give them a bag with stuff already in it.


However, I can't figure out how to give the player a pistol that already contains a magazine, let alone a loaded magazine!


I'm sure it must be possible, but how? Does anyone know?


(I tried doing it like the "bag" method above, but it throws an error when trying to put a clip inside a gun that way)

Edited by Banjo

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...