|
1 |
| -================================= |
2 |
| --------- Installation ----------- |
3 |
| -================================= |
4 |
| -1. Extract permweapons.lua to garrysmod/lua/autorun/server/permweaps.lua. |
5 |
| -2. Edit PermWeapons.Config.Groups table if you want to give weapons to specific groups. Please refer to the example provided inside the script. |
6 |
| -3. If players not receiving weapons, try switching between PermWeapons.Config.GiveOnSpawn and PermWeapons.Config.GiveOnLoadout |
7 |
| -
|
8 |
| -================================= |
9 |
| --------- Commands --------------- |
10 |
| -================================= |
11 |
| -
|
12 |
| -"pw_add_wep", <string:steamid>, <string:class> |
13 |
| - Description: Adds 'class' weapon to the player |
14 |
| - Examples: |
15 |
| - Server Console: pw_add_wep "STEAM_0:0:0" "weapon_ak47" |
16 |
| - DonationSystem: array( "sv_cmd", "pw_add_wep", "%steamid%", "weapon_ak47" ) |
17 |
| -
|
18 |
| -"pw_add_ammo", <string:steamid>, <string:class>, <number:amount> |
19 |
| - Description: Adds 'class' ammo to the player with specified amount |
20 |
| - Examples: |
21 |
| - Server Console: pw_add_ammo "STEAM_0:0:0" "ammo_ak47" 100 |
22 |
| - DonationSystem: array( "sv_cmd", "pw_add_ammo", "%steamid%", "ammo_ak47", 100 ) |
23 |
| - |
24 |
| -"pw_remove", <string:steamid>, <string:class> |
25 |
| - Description: Removes 'class' weapon/ammo from the player. |
26 |
| - Examples: |
27 |
| - Server Console: pw_remove "STEAM_0:0:0" "weapon_ak47" |
28 |
| - DonationSystem: array( "sv_cmd", "pw_remove", "%steamid%", "weapon_ak47" ) |
29 |
| -
|
30 |
| -"pw_list", <string:steamid> |
31 |
| - Description: Lists all weapons and ammo that the player currently have. |
32 |
| - Examples: |
| 1 | +================================= |
| 2 | +-------- Installation ----------- |
| 3 | +================================= |
| 4 | +1. Extract permweapons.lua to garrysmod/lua/autorun/server/permweaps.lua. |
| 5 | +2. Edit PermWeapons.Config.Groups table if you want to give weapons to specific groups. Please refer to the example provided inside the script. |
| 6 | +3. If players not receiving weapons, try switching between PermWeapons.Config.GiveOnSpawn and PermWeapons.Config.GiveOnLoadout |
| 7 | + |
| 8 | +================================= |
| 9 | +-------- Commands --------------- |
| 10 | +================================= |
| 11 | + |
| 12 | +"pw_add_wep", <string:steamid>, <string:class> |
| 13 | + Description: Adds 'class' weapon to the player |
| 14 | + Examples: |
| 15 | + Server Console: pw_add_wep "STEAM_0:0:0" "weapon_ak47" |
| 16 | + DonationSystem: array( "sv_cmd", "pw_add_wep", "%steamid%", "weapon_ak47" ) |
| 17 | + |
| 18 | +"pw_add_ammo", <string:steamid>, <string:class>, <number:amount> |
| 19 | + Description: Adds 'class' ammo to the player with specified amount |
| 20 | + Examples: |
| 21 | + Server Console: pw_add_ammo "STEAM_0:0:0" "ammo_ak47" 100 |
| 22 | + DonationSystem: array( "sv_cmd", "pw_add_ammo", "%steamid%", "ammo_ak47", 100 ) |
| 23 | + |
| 24 | +"pw_remove", <string:steamid>, <string:class> |
| 25 | + Description: Removes 'class' weapon/ammo from the player. |
| 26 | + Examples: |
| 27 | + Server Console: pw_remove "STEAM_0:0:0" "weapon_ak47" |
| 28 | + DonationSystem: array( "sv_cmd", "pw_remove", "%steamid%", "weapon_ak47" ) |
| 29 | + |
| 30 | +"pw_list", <string:steamid> |
| 31 | + Description: Lists all weapons and ammo that the player currently have. |
| 32 | + Examples: |
33 | 33 | Server Console: pw_list "STEAM_0:0:0"
|
0 commit comments