mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-27 06:20:17 +00:00
"kill all peds" button available only on server
This commit is contained in:
parent
85fe74bacc
commit
b8e93dce69
1 changed files with 7 additions and 4 deletions
|
@ -60,11 +60,14 @@ namespace SanAndreasUnity.UI {
|
|||
widthPercsButtons, buttonSpacing );
|
||||
}
|
||||
|
||||
if (NetUtils.IsServer)
|
||||
{
|
||||
// button to kill all peds
|
||||
if (GUILayout.Button ("Kill all peds", GUILayout.Width (100))) {
|
||||
KillAllPeds ();
|
||||
}
|
||||
GUILayout.Space (5);
|
||||
}
|
||||
|
||||
|
||||
// page view numbers
|
||||
|
|
Loading…
Reference in a new issue