Author Topic: Checking for a certain brick in a player's brickgroup.  (Read 411 times)

How would I go through a player's bricks and check if the player has a certain kind of brick (ie, pine tree, vehicle spawn...)?
Thanks!

Store these bricks in a list (look at Team Deathmatch) or SimSet of some sort.

A loop through everything in the group might work but would lag with larger builds.

Great, that worked. Now I have another problem: my set of .cs files won't exec... :/
Heres the server.cs, and yes, I do have a description.txt:
Code: [Select]
exec("./Blockmod_Blocks.cs");
exec("./Blockmod_ChooseJobs.cs");
exec("./Blockmod_Lawyer.cs");
exec("./Blockmod_Bricks.cs");