Author Topic: Lua brush  (Read 8522 times)

0 Members and 1 Guest are viewing this topic.

Offline Tophat Man

  • Newbie
  • *
  • Posts: 17
  • Karma: 2
Lua brush
« on: June 20, 2008, 02:15:09 AM »
Hello everyone, I hope I'm welcome here or whatever. I'm from G4P and I'm trying to understand lua, I already have most of the basic stuff like setting variables and making functions and stuff.

anyways I'm making this map and I want to make a lua brush for a certain room that when people enter it, it prints the players name in chat and I also want to have it keep track of how many players are in the brush. I've already tried to make this using the gmod wiki and such but It doesn't work, and there's a lack of coders in g4p that can help me so I came here.

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given