-
Notifications
You must be signed in to change notification settings - Fork 3
/
tConomy.inc
99 lines (70 loc) · 1.93 KB
/
tConomy.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
#if defined _rpg_tconomy_included_
#endinput
#endif
#define _rpg_tconomy_included_
/*
Adds Currency to a Players Account
@Param1 -> int client
@Param2 -> int amount
@Param3 -> char reason[256]
@return money after change
*/
native int tConomy_addCurrency(int client, int amount, char reason[256]);
/*
Removes Currency to a Players Account
@Param1 -> int client
@Param2 -> int amount
@Param3 -> char reason[256]
@return money after change
*/
native int tConomy_removeCurrency(int client, int amount, char reason[256]);
/*
Sets Currency on a Players Account
@Param1 -> int client
@Param2 -> int amount
@Param3 -> char reason[256]
@return money after change
*/
native int tConomy_setCurrency(int client, int amount, char reason[256]);
/*
Gets the Clients Currency amount
@Param1 -> int client
@return money owned
*/
native int tConomy_getCurrency(int client);
/*
Adds Currency to a Players Bank Account
@Param1 -> int client
@Param2 -> int amount
@Param3 -> char reason[256]
@return money after change
*/
native int tConomy_addBankCurrency(int client, int amount, char reason[256]);
/*
Removes Currency to a Players Bank Account
@Param1 -> int client
@Param2 -> int amount
@Param3 -> char reason[256]
@return money after change
*/
native int tConomy_removeBankCurrency(int client, int amount, char reason[256]);
/*
Sets Currency on a Players Bank Account
@Param1 -> int client
@Param2 -> int amount
@Param3 -> char reason[256]
@return money after change
*/
native int tConomy_setBankCurrency(int client, int amount, char reason[256]);
/*
Gets the Clients Bank Currency amount
@Param1 -> int client
@return money owned
*/
native int tConomy_getBankCurrency(int client);
/*
Return if a client is loaded
@Param1 -> int client
@return true if loaded
*/
native bool tConomy_isClientLoaded(int client);