CreateReboundEntity(data, target)
Creates a new synced entity.
Parameters:
data(table): Entity properties (seeentityDatastructure).target(number, optional): Player ID to send to. Defaults to-1(all clients).
Returns:
table: The created entity data.
Example:
local entity = exports['mrctv']:CreateReboundEntity({
model = "prop_tv_flat_01",
position = vector3(x, y, z),
rotation = vector3(0, 0, 0)
})