Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Starfall v
« Previous 1 … 6 7 8 9 10 … 18 Next »
return in chat.listen()
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
return in chat.listen()
19-08-2017, 09:13 PM, (This post was last modified: 19-08-2017, 09:18 PM by 4N0NYM.)
#1
4N0NYM Offline
absens
****
Posts: 561
Threads: 211
Joined: Dec 2014
return in chat.listen()
Does return dont work anymore or i m using it wrong ?


if SERVER then
function chatCommands( Message, Player )
LS = Message:lower()
LSC = LS:explode( " " )
if LSC[1] == "hey" then
if Player == ents.owner() then
say("Hello World")
end
return
end
end
chat.listen(chatCommands)
end

oh and i forget to add that :enableCollisions() dont work on a Wire Button.
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
return in chat.listen() - by 4N0NYM - 19-08-2017, 09:13 PM
RE: return in chat.listen() - by Skeleton - 19-08-2017, 10:58 PM
RE: return in chat.listen() - by 4N0NYM - 19-08-2017, 11:09 PM
RE: return in chat.listen() - by Kosmos - 19-08-2017, 11:24 PM

  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.