RealTimeMP v0.5
π« RealTimeMP v0.5 β Bullet Sync Update
β¨ What's New
π SpawnSyncedBullet β Spawn a bullet and automatically sync it to all other players with the same position, angle, and animation. Call it once when the bullet is created.
π OnBulletSpawned β Condition triggered when another player spawns a synced bullet. Use it to create the bullet object in your scene.
π BulletX() / BulletY() / BulletAngle() β Get the position and angle of the received bullet.
π BulletAnimation() β Get the animation name of the received bullet.
π BulletSenderId() β Get the player ID who fired the bullet.
π₯οΈ Server Update
β Added bullet_spawn message handler β the server now broadcasts bullet spawn events to all players in the room.