News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Show Posts

* Messages | Topics | Attachments

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Dacasin

Pages: [1]
1
Modding Questions/Help / Re: What is the codes to toggle buttons
« on: October 19, 2021, 08:29:27 AM »
Copy this
Code: [Select]
  if IsButtonBeingPressed(3,0) then
  NoTrouble = not NoTrouble
    if NoTrouble then
        DisablePunishmentSystem(true)
TextPrintString("Disabled Trouble",1,2)
      else
        DisablePunishmentSystem(False)
TextPrintString("Enabled Trouble",1,2)
      end
   end
end
and paste to your Function "your code"()

Pages: [1]