Adds a very simple function for checking if a player is sick to the player metatable.
local meta = FindMetaTable("Player") function meta:IsSick() return true end -- Sometime later... local ply = Entity(1) if ( ply:IsSick() ) then ply:ChatPrint( "Get well soon, " .. ply:Nick() .. "!" ) ply:ChatPrint( "I just don't understand how you're always sick..." ) end
Get well soon, Player1! I just don't understand how you're always sick...