English
Theme
shared boolean Player:IsSurvivor()
Returns true if the player is a survivor.
true
1 boolean
1
If player 1 is a survivor, print it to the console.
local ply = Entity( 1 ) if ply:IsSurvivor() then print(ply:Nick() .. " is a survivor") end