Garry's Mod

Garry's Mod

Garry's Games (Hunger Games)
Hernet 30. okt. 2019 kl. 20:13
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...
< >
Viser 1-4 af 4 kommentarer
Hernet 30. okt. 2019 kl. 20:20 
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  [udvikler] 19. sep. 2022 kl. 21:44 
wait you changed the files?
D4KiR  [udvikler] 19. sep. 2022 kl. 21:44 
you can give weapons ingame via the menu
Hernet 21. sep. 2022 kl. 12:02 
That was years ago, but I got it to work... It was private project to play with my class and learn lua from.
< >
Viser 1-4 af 4 kommentarer
Per side: 1530 50