How do i also add so this player gets frezzed and godded? (may even nocoilded if thats possible)
I've it in init.lua btw
[lua]
function SomeShit( ent, inflictor, attacker, amount, dmginfo )
if ent:IsPlayer() and attacker.AFK then
dmginfo:ScaleDamage( 0 )
end
end
hook.Add("EntityTakeDamage", "Scale Damage 0", SomeShit)
[/lua]
1) What does frezzed mean
2) Where are you setting the AFK variable
[editline]27th February 2011[/editline]
Oh, freezed.
[editline]27th February 2011[/editline]
I thought it was like rezzed or respawned
[editline]27th February 2011[/editline]
:v:
[editline]27th February 2011[/editline]
kids these days with their shorthand jargon jibberjabber