bonbom Posted November 15, 2011 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
12p Posted November 15, 2011 Posted November 15, 2011 I don't even get your urban language. Can you be more specific? Clear? Just say what do you want.
Castillo Posted November 15, 2011 Posted November 15, 2011 We can't know what are you trying to do... can you please explain yourself further?
Charlie_Jefferson Posted November 15, 2011 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'.
Castillo Posted November 15, 2011 Posted November 15, 2011 Charlie, that makes no sense... what kind of settings is he doing?
12p Posted November 15, 2011 Posted November 15, 2011 Castillo, look at bonbom's script - what Charlie says DO makes sense. My response is whateveridontcaredowhatyouwantifyouneedhelpaskhere.
bonbom Posted November 16, 2011 Author 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.
Castillo Posted November 16, 2011 Posted November 16, 2011 You must edit the water shader script to make it enable/disable with a function.
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