@Dark_Samurai
I already thought about that, and i think i will do it like that. Would that cost less traffic?
---
Ok i got a new problem. Everything is working fine. I´m receiving the pointer "id" and can give the you pointer to the entity. enet_ent_remove works fine. But if i try to change the health (skill20) of the entity i get an error msg.
you = entity_pointer;
you.health -= 120;
"Crash in svevent_dmg: SYS"
I´m not really sure but shouldnt that work? Cause this function only runs on the server who creates the entitys. The server should be able to change the health value, or not?