diff --git a/src/SampSharp.Entities/SAMP/Services/IWorldService.cs b/src/SampSharp.Entities/SAMP/Services/IWorldService.cs
index 30a6dd12..130dcb86 100644
--- a/src/SampSharp.Entities/SAMP/Services/IWorldService.cs
+++ b/src/SampSharp.Entities/SAMP/Services/IWorldService.cs
@@ -211,6 +211,15 @@ PlayerTextLabel CreatePlayerTextLabel(EntityId player, string text, Color color,
/// The style of text to be displayed.
void GameText(string text, int time, int style);
+ ///
+ /// Stop showing a gametext style for all players.
+ ///
+ /// The style of text to hide.
+ ///
+ /// This function was added in omp v1.1.0.2612 and will not work in earlier versions!
+ ///
+ void HideGameText(int style);
+
/// Creates an explosion for all players.
/// The position of the explosion.
/// The explosion type.
diff --git a/src/SampSharp.Entities/SAMP/Services/WorldService.cs b/src/SampSharp.Entities/SAMP/Services/WorldService.cs
index c7755c20..5ae9685e 100644
--- a/src/SampSharp.Entities/SAMP/Services/WorldService.cs
+++ b/src/SampSharp.Entities/SAMP/Services/WorldService.cs
@@ -323,6 +323,12 @@ public void GameText(string text, int time, int style)
_native.GameTextForAll(text, time, style);
}
+ ///
+ public void HideGameText(int style)
+ {
+ _native.HideGameTextForAll(style);
+ }
+
///
public void CreateExplosion(Vector3 position, ExplosionType type, float radius)
{
diff --git a/src/SampSharp.Entities/SAMP/Services/WorldServiceNative.cs b/src/SampSharp.Entities/SAMP/Services/WorldServiceNative.cs
index dd8a642e..dacd5e96 100644
--- a/src/SampSharp.Entities/SAMP/Services/WorldServiceNative.cs
+++ b/src/SampSharp.Entities/SAMP/Services/WorldServiceNative.cs
@@ -138,6 +138,12 @@ public virtual bool GameTextForAll(string text, int time, int style)
throw new NativeNotImplementedException();
}
+ [NativeMethod]
+ public virtual void HideGameTextForAll(int style)
+ {
+ throw new NativeNotImplementedException();
+ }
+
[NativeMethod]
public virtual bool CreateExplosion(float x, float y, float z, int type, float radius)
{