• player:ConCommand runs this command
    3 replies, posted
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
freezed* ;)
[b][url=http://wiki.garrysmod.com/?title=Player.Freeze]Player.Freeze [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] [b][url=http://wiki.garrysmod.com/?title=Player.GodEnable]Player.GodEnable [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] [b][url=http://wiki.garrysmod.com/?title=Entity.SetMoveType]Entity.SetMoveType [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]
Sorry, you need to Log In to post a reply to this thread.