View Single Post
sslice
Senior Member
Join Date: Feb 2005
Location: Texas, USA
Old 04-26-2007 , 16:06   Re: [PLUGIN] SpawnProtect
Reply With Quote #23

You need to use GetMaxClients(), becase the entity index may fall outside of the range that GetClientCount() would give you. You just need to check if it is a valid client by using IsClientConnected() or something similar.
sslice is offline