• Need help with Team Spawning!
    3 replies, posted
when a person is killed, the killer gets the weapons and the loadout when the person who gets killed gets nothing on respawn [code]function GM:PlayerSpawn( ply ) if ply:Team() == 1 then player:SetODST() end end [/code] Please help, Tyler
Please help :rolleyes:
use the PlayerDeath hook, as it takes the victim and attacker into consideration - see the gmod wiki page
[QUOTE=NiandraLades;48420373]use the PlayerDeath hook, as it takes the victim and attacker into consideration - see the gmod wiki page[/QUOTE] Okay Thank You For the help :happy:
Sorry, you need to Log In to post a reply to this thread.