kokenya 0 Posted April 19 [RemoteEvent("getPlayerFactions")] public List<NewFactionModel> getPlayerFactionsEvent(Client player) { int pid = player.GetSharedData(EntityData.PLAYER_SQL_ID); var Lista = factionList.Where(x => x.members.Any(y => y.Key == pid)).ToList(); return Lista; } I want to use this list in my clientsided c# code. How can I trigger it? Share this post Link to post Share on other sites
TimoW 1 Posted April 20 (edited) player.TriggerEvent("eventname", NAPI.Util.ToJson(Lista)); Edited April 20 by TimoW 1 Share this post Link to post Share on other sites