bonbom Posted November 15, 2011 Share Posted November 15, 2011 I have been scripting settings GUI with my beginner scripting skills ^^ and I was wondering what should i type here (spots where read (blablabla) if ( source ) == checkBox1 then if ( guiCheckBoxGetSelected (source) ) then (blablabla start this function) else (blablabla remove this function) end Link to comment
12p Posted November 15, 2011 Share Posted November 15, 2011 I don't even get your urban language. Can you be more specific? Clear? Just say what do you want. Link to comment
Castillo Posted November 15, 2011 Share Posted November 15, 2011 We can't know what are you trying to do... can you please explain yourself further? Link to comment
Charlie_Jefferson Posted November 15, 2011 Share Posted November 15, 2011 He wants us to tell him what to write. if ( source ) == checkBox1 then if ( guiCheckBoxGetSelected (checkboxnamegoeshere) ) then do this action else do a different action end He wants our ideas, or somethin'. Link to comment
Castillo Posted November 15, 2011 Share Posted November 15, 2011 Charlie, that makes no sense... what kind of settings is he doing? Link to comment
12p Posted November 15, 2011 Share Posted November 15, 2011 Castillo, look at bonbom's script - what Charlie says DO makes sense. My response is whateveridontcaredowhatyouwantifyouneedhelpaskhere. Link to comment
Castillo Posted November 15, 2011 Share Posted November 15, 2011 In my opinion, he already know that. Link to comment
bonbom Posted November 16, 2011 Author Share Posted November 16, 2011 Sry if i didint expain so clearly I meant I dont know what should i put there like example addeventhandler ("what client event!?) and so on..... so when player checks checkbox water shader would start And I cant finnish this becose of this part of script so im asking help here. Link to comment
Castillo Posted November 16, 2011 Share Posted November 16, 2011 You must edit the water shader script to make it enable/disable with a function. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now