Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

more ammo

- - - - -

  • Please log in to reply
2 replies to this topic

#1
OFFLINE   fanboi

fanboi

    Member

  • Members
  • PipPip
  • 22 posts
4
A step in the right direction

hey there ..

 

how can I set the server-client from the ammo from 30/30 to 30/120 for all players!?

 

 

greetz



#2
OFFLINE   Rel!c

Rel!c

    Member

  • Members
  • PipPip
  • 34 posts
6
A step in the right direction
  • LocationSwe

you can use lua for that.

Dont know if there is any published but let me know if you need I can help with the one we use.



#3
OFFLINE   Rel!c

Rel!c

    Member

  • Members
  • PipPip
  • 34 posts
6
A step in the right direction
  • LocationSwe

think this would work for u but try and let me know.

 

driammoclip = 1


function et_ClientSpawn(j,revived)
        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
et.gentity_set(j, "ps.ammo",39, 160) --ppsh
        end
       
end





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users