I’m trying to remove forms of ‘cheating’ (client side de-spawning other vehicles) in a server I am creating. So currently I request the number of vehicles spawned in the server by adding up all the players and their vehicles spawned. But I am just unsure how to create the specific communication command to pass over the VehicleCount from each client to the server. Any thoughts? The docs on client side scripting are pretty bare bones, and unfortunately studying the currently developed server plugins/mods has not aided me yet in this specific instance. Probably a skill issue
So yeah, edit here. Was a skill issue, I completely missed the “data” part of the TriggerServerEvent("eventName", "data")
documentation somehow, please don’t ask how. I’ll lie.