it's kind of a noob question, but how can I get BasePlayer in any other functions ?
for example OnTick() that affect the BasePlayer
thanks.
Get BasePlayer in any function
Discussion in 'Rust Development' started by LoneRanger, Oct 17, 2015.
-
Calytic Community Admin Community Mod
Code:BasePlayer player = BasePlayer.Find("STEAMID");
-
-
Wulf Community Admin
-
-
Just one thing to add: OnTick at the server is not run per player, so the concept of a specific Player is this function is false anyway.
-
Wulf Community Admin