Jump to content

PPSH Weapon Number (LUA)


Lucron
Go to solution Solved by Dragonji,

Recommended Posts

So we have a script to max out ammo for every weapon on spawn. But we cannot find the PPSH number.

Script example:

        if driammoclip == 1 then
                et.gentity_set(j, "ps.ammo",3, 120) --mp40
                et.gentity_set(j, "ps.ammo",8, 120) --thompson
                et.gentity_set(j, "ps.ammo",10, 96) --sten
                et.gentity_set(j, "ps.ammo",25, 30) --garand
                et.gentity_set(j, "ps.ammo",31, 450) --mobile mg42
                et.gentity_set(j, "ps.ammo",32, 30) --k43
                et.gentity_set(j, "ps.ammo",33, 60) --fg42
                et.gentity_set(j, "ps.ammo",35, 16) --mortar
                et.gentity_set(j, "ps.ammo",42, 120) --garand scoped
                et.gentity_set(j, "ps.ammo",43, 30) --k43 scope
                et.gentity_set(j, "ps.ammo",44, 60) --fg42 scope
                et.gentity_set(j, "ps.ammo",24, 30) --carbine
        end

 

What would we use for the PPSH?

Link to comment
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.

Guest
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...