mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2025-02-16 21:08:28 +00:00
Added button to add random weapons
This commit is contained in:
parent
59d98a48a3
commit
840e121b4e
1 changed files with 5 additions and 0 deletions
|
@ -39,6 +39,11 @@ namespace SanAndreasUnity.UI {
|
|||
{
|
||||
GUILayout.BeginHorizontal ();
|
||||
|
||||
if (GUILayout.Button ("Add random weapons", GUILayout.ExpandWidth(false)))
|
||||
Ped.Instance.WeaponHolder.AddRandomWeapons ();
|
||||
|
||||
GUILayout.Space (5);
|
||||
|
||||
if (GUILayout.Button ("Remove all weapons", GUILayout.ExpandWidth(false)))
|
||||
Ped.Instance.WeaponHolder.RemoveAllWeapons ();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue