This repository was archived by the owner on Sep 28, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathtabranks.inc
More file actions
58 lines (52 loc) · 1.3 KB
/
tabranks.inc
File metadata and controls
58 lines (52 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#if defined _influx_tabranks_included
#endinput
#endif
#define _influx_tabranks_included
/*
* On Client rank name already read
*
* @param iClient Client index
* @param szRankname Client rankname with out colors (fl. copyback)
* @param iSize size of string
*
*
* @noreturn
*/
forward void Influx_trank_OnGetRank(int iClient, char[] szRankname, int iSize);
/*
* Status of send fake rank to client was changed
*
* @param iClient Client index
* @param oldVal old Value
* @param newVal new value
* @param IsNative who changed
*
*
* @noreturn
*/
forward void Influx_trank_SendToClient(int iClient, bool oldVal, bool newVal, bool IsNative);
/*
* Change status of send fake rank to client
*
* @param iClient Client index
* @param value True - send| false - otherwise
*
* @return true - changed success, false - invalid client index
*/
native bool influx_trank_SendToClient(int iClient, bool value);
public SharedPlugin __pl_influx_tabranks =
{
name = "influx_tabranks",
file = "influx_tabranks_csgo.smx",
#if defined REQUIRE_PLUGIN
required = 1
#else
required = 0
#endif
};
#if !defined REQUIRE_PLUGIN
public void __pl_influx_tabranks_SetNTVOptional()
{
MarkNativeAsOptional("influx_trank_SendToClient");
}
#endif