We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
IsPlayerUsingOmp
1 parent f3bff01 commit 3fa4e2dCopy full SHA for 3fa4e2d
1 file changed
omp_player.inc
@@ -3036,6 +3036,18 @@ native bool:AllowPlayerWeapons(playerid, bool:allow);
3036
*/
3037
native bool:ArePlayerWeaponsAllowed(playerid);
3038
3039
+/**
3040
+ * <library>omp_player</library>
3041
+ * <summary>Check if the player is using the open.mp launcher.</summary>
3042
+ * <param name="playerid">The ID of the player to check.</param>
3043
+ * <seealso name="IsPlayerUsingOfficialClient" />
3044
+ * <returns>
3045
+ * <b><c>true</c></b>: The player is using open.mp launcher.<br />
3046
+ * <b><c>false</c></b>: The player is not using open.mp launcher or the player specified does not exist.
3047
+ * </returns>
3048
+ */
3049
+native bool:IsPlayerUsingOmp(playerid);
3050
+
3051
/*
3052
3053
,ad8888ba, 88 88 88 88
0 commit comments