David Adams wrote:
--
[ Picked text/plain from multipart/alternative ]
ok so ive searched through the list on removing entities from a server, but
i havent been able to find a conclusion on how to do this. I am making a mod
to hl2dm and adding fake clients to the server(bots).  I am looking for a
way to remove them from the server completely.  Right now, i can get them to
dissapear from the map and scoreboard, but when they are re-added, they have
a (1) or (n) whatever by thier name as if to say the original name is taken,
and their entity index has increased, and keeps increasing every time they
are removed and added.


Im using the player->remove function and Ive also tried engine->RemoveEdict
and gEntList.CleanUpDeleteList() with no improvement.  I am finding the bots
entity index by printing player->entindex.  thanks!

Try using the "kick" console command to kick that "player" from the server.

--
Jeffrey "botman" Broome

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to