mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2025-02-17 05:18:27 +00:00
some more adaptions
This commit is contained in:
parent
506c7bd1f0
commit
700e9e9e44
1 changed files with 3 additions and 3 deletions
|
@ -56,13 +56,13 @@ namespace SanAndreasUnity.UI {
|
|||
|
||||
if (GUILayout.Button ("Spawn random vehicle")) {
|
||||
if (Ped.Instance != null)
|
||||
Behaviours.Vehicles.Vehicle.CreateRandomInFrontOf(Ped.Instance.transform);
|
||||
SendCommand("/veh");
|
||||
}
|
||||
|
||||
if (GUILayout.Button("Change player model"))
|
||||
{
|
||||
if (Ped.Instance != null)
|
||||
Ped.Instance.PlayerModel.Load(Ped.RandomPedId);
|
||||
SendCommand("/skin");
|
||||
}
|
||||
|
||||
if (GUILayout.Button("Spawn 5 peds"))
|
||||
|
@ -102,7 +102,7 @@ namespace SanAndreasUnity.UI {
|
|||
|
||||
if (GUILayout.Button("Request vehicle"))
|
||||
{
|
||||
SendCommand("/veh -1");
|
||||
SendCommand("/veh");
|
||||
}
|
||||
|
||||
if (GUILayout.Button("Request ped model change"))
|
||||
|
|
Loading…
Add table
Reference in a new issue