summaryrefslogtreecommitdiff
path: root/sourcemod/scripting/include/gokz/chat.inc
blob: 0264a57b78eb463c853c4f8e6d29e4e512c2bd59 (plain)
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
/*
	gokz-chat Plugin Include
	
	Website: https://bitbucket.org/kztimerglobalteam/gokz
*/

#if defined _gokz_chat_included_
#endinput
#endif
#define _gokz_chat_included_



// =====[ NATIVES ]=====

/**
 * Gets whether a mode is loaded.
 *
 * @param client		Client.
 * @param tag			Tag to prepend to the player name in chat.
 * @param color			Color to use for the tag.
 */
native void GOKZ_CH_SetChatTag(int client, const char[] tag, const char[] color);



// =====[ DEPENDENCY ]=====

public SharedPlugin __pl_gokz_chat = 
{
	name = "gokz-chat", 
	file = "gokz-chat.smx", 
	#if defined REQUIRE_PLUGIN
	required = 1, 
	#else
	required = 0, 
	#endif
};

#if !defined REQUIRE_PLUGIN
public void __pl_gokz_chat_SetNTVOptional()
{
	MarkNativeAsOptional("GOKZ_CH_SetChatTag");
}
#endif