Hello my friends.
I never develop in Cshrp, but im java and php - i try in Cshrp but i need any help.
Need help:
How in plugin kill player and respawn on my X Y Z
How get player steamID and name?
TY
Trying to get started with C# plugin dev
Discussion in 'Rust Development' started by zhulenejsnek, Feb 14, 2017.
-
Wulf Community Admin
I'd recommend taking a look through some of the existing stickies threads, similar questions and try tinkering with some plugins to get started. Knowing some C# basics would also help you out a lot, for which there are a lot of tutorials around the internet.
-
Ye i do it... Say me, when i teleport player is this corect?
Work it, but sometimes (one from 50ports) player spawn randomly...
Code:player.StartSleeping(); player.transform.position = new UnityEngine.Vector3(newx, newy, newz); player.SetPlayerFlag(BasePlayer.PlayerFlags.ReceivingSnapshot, true); player.UpdateNetworkGroup(); player.SendFullSnapshot(); player.health = 100; player.metabolism.hydration.value = 250; player.metabolism.calories.value = 500; player.EndSleeping();
is this correct? -
Wulf Community Admin
-