@@ -99,24 +99,24 @@ void Player::forceSpawn() const
9999
100100void Player::playSound (int32_t sound) const
101101{
102- g_Funcs->PlaySound (getWorld (), sound, NAN, NAN, NAN);
102+ g_Funcs->PlaySound (getUniqueWorld (), sound, NAN, NAN, NAN);
103103}
104104
105105void Player::playSound3D (int32_t sound) const
106106{
107107 float x, y, z;
108108 g_Funcs->GetPlayerPosition (m_ID, &x, &y, &z);
109- g_Funcs->PlaySound (getWorld (), sound, x, y, z);
109+ g_Funcs->PlaySound (getUniqueWorld (), sound, x, y, z);
110110}
111111
112112void Player::playSound3DEx (int32_t sound, sol::table position) const
113113{
114- g_Funcs->PlaySound (getWorld (), sound, position[1 ], position[2 ], position[3 ]);
114+ g_Funcs->PlaySound (getUniqueWorld (), sound, position[1 ], position[2 ], position[3 ]);
115115}
116116
117117void Player::playSound3DEx2 (int32_t sound, float x, float y, float z) const
118118{
119- g_Funcs->PlaySound (getWorld (), sound, x, y, z);
119+ g_Funcs->PlaySound (getUniqueWorld (), sound, x, y, z);
120120}
121121
122122int32_t Player::getID () const {
0 commit comments