Topic: [SOLVED] RemoveEntity() removes the last inserted entity
Hi!
Here's my code:
http://pastebin.com/pcZNNmwm
The problem is: when somebody creates a special entity and another person does it later, then if the first person destroys an entity, it will destroy the second person's entity. I don't know, maybe I haven't set every variable in the pickup class correctly?
Greetings,
DBguy (Dragonborn).
EDIT: Solved.