Added button to add random weapons

This commit is contained in:
in0finite 2019-04-25 00:23:10 +02:00
parent 59d98a48a3
commit 840e121b4e

View file

@ -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 ();