• Exclude caller from player.GetAll?
    2 replies, posted
Title says it all. How would i go about doing this? I basically have this chat command that uses player.GetAll to find all players on the server and then sends them a message. How would i exclude myself from this? Thanks in advance.
If you're doing it in a loop, can't you just do [CODE] if v ~= LocalPlayer() then -- code end [/CODE] ?
2 ways to approach this. Make own loop as seen above or use this: [url]http://wiki.garrysmod.com/page/table/RemoveByValue[/url]
Sorry, you need to Log In to post a reply to this thread.