View Single Post
  #1  
Old 05-23-2009, 10:14 AM
Pelikano Pelikano is offline
Registered User
Pelikano's Avatar
Join Date: Oct 2008
Posts: 1,133
Pelikano has a little shameless behaviour in the past
Checkboxes uneditable

Hi,

I'm trying to create Checkboxes, which can't be edited by the Player, but still are checked or unchecked.

Well, there are two variabled:

checked = boolean
active = boolean

When setting active to false, the Checkbox can't be editet no more, but it kind of overwrites the checked variable, making it false :S.

I know I could do something like this:

PHP Code:
//#CLIENTSIDE
function onTimeOut() {
  
BlaBla.checked true;
  
setTimer(.05);

But is there really no other way?
Reply With Quote