AMXX-BG.INFO cshop_settings.inc Raw include

cshop_settings.inc

Original include source with line numbers.

Back Download .inc
1 #if defined _cshop_settings_included
2 #endinput
3 #endif
4
5 #include <cstrike>
6
7 #define _cshop_settings_included
8 #define DEFAULT_SOUND "items/gunpickup2.wav"
9 #define FLAG_ADMIN ADMIN_BAN
10 #define LANG_TYPE LANG_SERVER
11 #define MAX_ITEMS 100
12
13 /*
14 * Change the lines below if you want to use a native for your money currency, e.g. Ammo Packs, BaseBuilder Credits, JBPacks, etc.
15 * Example (%1 = id | %2 = amount):
16 native zp_get_user_ammo_packs(id)
17 native zp_set_user_ammo_packs(id, amount)
18 #define get_user_money(%1) zp_get_user_ammo_packs(%1)
19 #define set_user_money(%1,%2) zp_set_user_ammo_packs(%1, %2)
20 */
21 #define get_user_money(%1) cs_get_user_money(%1)
22 #define set_user_money(%1,%2) cs_set_user_money(%1, %2)
23
24 /* Don't touch this line unless you know what you're doing */
25 #define take_user_money(%1,%2) set_user_money(%1, get_user_money(%1) - %2)