-
Notifications
You must be signed in to change notification settings - Fork 3
/
tCrime.inc
82 lines (64 loc) · 1.4 KB
/
tCrime.inc
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#if defined _rpg_tcrime_included_
#endinput
#endif
#define _rpg_tcrime_included_
/*
Get the crime amount of client
@Param1 -> client index
@return crime amount
*/
native int tCrime_getCrime(int client);
/*
Sets the Crime amount on client
@Param1 -> client index
@Param2 -> crime amount
@return -
*/
native void tCrime_setCrime(int client, int amount);
/*
Adds the Crime amount on client
@Param1 -> client index
@Param2 -> crime amount
@return -
*/
native void tCrime_addCrime(int client, int amount);
/*
Removes the Crime amount on client
@Param1 -> client index
@Param2 -> crime amount
@return -
*/
native void tCrime_removeCrime(int client, int amount);
/*
Adds flags to the client
@Param1 -> client index
@Param2 -> char flags[64]
@return -
*/
native void tCrime_addFlags(int client, char flags[64]);
/*
Removes flags from the client
@Param1 -> client index
@Param2 -> char flags[64]
@return -
*/
native void tCrime_removeFlags(int client, char flags[64]);
/*
Clears flags from the client
@Param1 -> client index
@return -
*/
native void tCrime_clearFlags(int client);
/*
Sets flags from the client
@Param1 -> client index
@return -
*/
native void tCrime_setFlags(int client);
/*
Sets flags from the client
@Param1 -> client index
@Param2 -> char flagsbuffer[64]
@return -
*/
native void tCrime_getFlags(int client, char flagbuffer[64]);