Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianTerhorst authored Aug 7, 2019
1 parent 12f7c5f commit 523f717
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,9 @@ AltNetworking.Configure(options =>
{
options.Port = 46429;
});
AltNetworking.CreateEntity(new Position {X = 0, Y = 0, Z = 73}, 1, 50, new Dictionary<string, object>());
var data = new Dictionary<string, object>(); // This is the entity data, the streamer on clientside will receive it with entity.data
data["model"] = "a_c_deer";
AltNetworking.CreateEntity(new Position {X = 0, Y = 0, Z = 73}, 1, 50, data);
```
Add the networking-entity as a dependency to your client resource.
```
Expand Down

0 comments on commit 523f717

Please sign in to comment.