I have a button that spawns in a mini on the heli pad when you press a button using OnButtonPress
The only problem is I only want it to do it for that button because when someone presses a button while on oil rig it just kills them because they dont have the permission to spawn helis
Button pressSolved
Update:
Fixed it with
var ButtonPressed = button as BaseEntity;
var ButtonID = ButtonPressed.net.ID.ToString();
Locked automatically