0 Members and 1 Guest are viewing this topic.
Those are two different names. Did you make a new account?
Code: Luafunction tttTeamKill( victim, inflictor, attacker ) if not attacker:GetRole() == ROLE_INNOCENT then return end if victim:GetRole() == ROLE_INNOCENT or victim:GetRole() == ROLE_DETECTIVE then awarn_warnplayer( nil, attacker, "Autowarned for RDM" ) endendhook.Add( "PlayerDeath", "Warn On RDM", tttTeamKill ) This should work. Try it out.
I have another question about this, is there a place to find the other "awarn_" functions?
Search through AWarn's code?