From 61ec48e756e9ae1b04f7e0e2c254c4422c8ca7b1 Mon Sep 17 00:00:00 2001 From: neon Date: Mon, 23 Jul 2018 11:24:44 +0200 Subject: [PATCH] forgot to add the include file --- leader2/scripting/include/leader.inc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 leader2/scripting/include/leader.inc diff --git a/leader2/scripting/include/leader.inc b/leader2/scripting/include/leader.inc new file mode 100644 index 00000000..987ee5b1 --- /dev/null +++ b/leader2/scripting/include/leader.inc @@ -0,0 +1,17 @@ +#if defined _leader_included_ + #endinput +#endif +#define _leader_included_ + +/** + * Returns current leader + * + * @return int Client index of the leader (-1 = null) + */ +native Leader_CurrentLeader(); +/** + * Sets the leader + * + * @param client Client index to be set as leader + */ +native Leader_SetLeader(client);