How do I detect if a player is a spectator in TTT?
2 replies, posted
I want to print text to only spectators, how would I do that?
[LUA]
for k,v in pairs( player.GetAll() ) do
if v:IsSpec() then
print( "you're a spectator" )
else
print( "You are not a spectator" )
end
end
[/LUA]
check player_ext_shd.lua
Thank you very much :) I was looking through the ttt files and I must have missed it.
Sorry, you need to Log In to post a reply to this thread.