Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Option 0
- if player.getequipped Thing_To_Check
- set iEnable to 1
- else
- set iEnable to 0
- end if
- SetUIFloat "StartMenu/MCM/*:1/*:6/_enable" iEnable
- SetUIFloat "StartMenu/MCM/*:1/*:6/_suffix" 0
- SetUIString "StartMenu/MCM/*:1/*:6/_title" "Title"
- SetUIFloat "StartMenu/MCM/*:1/*:6/_type" 2.5
- SetUIFloat "StartMenu/MCM/*:1/*:6/_value/*:1/string" "%.1f" Variable
- ; Option 1
- IF player.geteqipped Thing_To_Check
- SetUIFloat "StartMenu/MCM/*:1/*:6/_enable" 1
- else
- SetUIFloat "StartMenu/MCM/*:1/*:6/_enable" 0
- end if
- SetUIFloat "StartMenu/MCM/*:1/*:6/_suffix" 0
- SetUIString "StartMenu/MCM/*:1/*:6/_title" "Title"
- SetUIFloat "StartMenu/MCM/*:1/*:6/_type" 2.5
- SetUIFloat "StartMenu/MCM/*:1/*:6/_value/*:1/string" "%.1f" Variable
- ; Option 2
- IF player.geteqipped Thing_To_Check
- SetUIFloat "StartMenu/MCM/*:1/*:6/_enable" 1
- SetUIFloat "StartMenu/MCM/*:1/*:6/_suffix" 0
- SetUIString "StartMenu/MCM/*:1/*:6/_title" "Title"
- SetUIFloat "StartMenu/MCM/*:1/*:6/_type" 2.5
- SetUIFloat "StartMenu/MCM/*:1/*:6/_value/*:1/string" "%.1f" Variable
- end if
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement