English
Theme
shared Entity Player:GetPill()
Returns the player's Pill entity.
1 Entity
1
If player 1 has a Pill, print a message to the console.
local ply = Entity( 1 ) if IsValid( ply:GetPill() ) then print("Pill is present!") end