Garry's Mod

Garry's Mod

Garry's Games (Hunger Games)
Hernet 30 Oct, 2019 @ 8:13pm
Having a hard time editing spawn weapon
Tried changing the spawn weapon from "weapon_fists" to "weapon_physcannon" (Gravity Gun)
and by some testing i find 2 results

Editing the :
ply:Give( "weapon_fists" )
: to :
ply:Give( "weapon_physcannon" )
: spawns me with nothing...

adding a :
ply:Give( "weapon_physcannon" )
: under the :
ply:Give( "weapon_fists" )
; resulting in :
ply:Give( "weapon_fists" )
ply:Give( "weapon_physcannon" )
: spawns me with only the fists...

me being a common user of the :Give is confused.

in conclusion. the player / tribute class can only spawn with the fists...
< >
Showing 1-4 of 4 comments
Hernet 30 Oct, 2019 @ 8:20pm 
ok took me like 2 min but i semi got around it by adding a :
timer.Simple( 5, function() ply:Give( "weapon_physcannon" ) end )
: under the fists...

still just chaning the fists wont work and it's intresting why that is...
D4KiR  [developer] 19 Sep, 2022 @ 9:44pm 
wait you changed the files?
D4KiR  [developer] 19 Sep, 2022 @ 9:44pm 
you can give weapons ingame via the menu
Hernet 21 Sep, 2022 @ 12:02pm 
That was years ago, but I got it to work... It was private project to play with my class and learn lua from.
< >
Showing 1-4 of 4 comments
Per page: 1530 50