What do you expect it to do? You aren’t actually doing anything in the plugin.
Some errors and issues with some code
Discussion in 'Rust Development' started by cookiecool, Feb 4, 2018.
-
Wulf Community Admin
-
[DOUBLEPOST=1517774666][/DOUBLEPOST] -
So I made a plugin that let you control props but the controlling part works but sometimes it just goes invisible. The shadow of the prop will still be there but the prop won't and they can pick it up.
Code:void Loaded() { permission.RegisterPermission("controlprop.use", this); timer.Repeat(0.1f, 0, () => { foreach (BasePlayer player in props.Keys) { BaseEntity prop = props[player]; prop.transform.position = (new Vector3(player.transform.position.x, player.transform.position.y, player.transform.position.z)); prop.SendNetworkUpdate(); } }); }
-
Wulf Community Admin
-