mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-04 06:46:23 +00:00
wip syncing of vehicles when joining
This commit is contained in:
@@ -457,7 +457,8 @@ impl Server {
|
||||
for (vid, car) in &client.cars {
|
||||
self.clients[client_idx]
|
||||
.queue_packet(Packet::Raw(RawPacket::from_str(&format!(
|
||||
"Os:{vid}:{}",
|
||||
"Os:{}:{pid}-{vid}:{}",
|
||||
client.get_name(),
|
||||
car.car_json,
|
||||
))))
|
||||
.await;
|
||||
|
||||
Reference in New Issue
Block a user