Hi all, (again)
So i’m still on my gamemode developpement. Actually, i think you know, i’m making an inventory to stock every player props, weapons, ammo, every type of entity in the game.
To do it, i need several steps :
- Client recieving data from server : Done !
- Client rendering items in a single DFrame bound to spawn menu key : Done !
- Server saving data to hard disk : Not began, will need C++ !
- Table data needs valid entities : ERROR !!
So you understand, the error is in the inventory table, witch contains some entities created by ents.Create but not spawned.
The entities that are created by ents.Create are not valid. They are valids only if you spawn them. Only one problem : these entities are spawned only when the client requests to. So when the server creates entities from the entity class, i get an unusable entity. I can just spawn it and set it position. But i don’t want that until player requests it. I need client to render the not spawned entity in the DModelPanel.