Jump to content

Help me with my script!


bonbom

Recommended Posts

Posted

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 

Posted

We can't know what are you trying to do... can you please explain yourself further?

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

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'.

Posted

Charlie, that makes no sense... what kind of settings is he doing?

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Castillo, look at bonbom's script - what Charlie says DO makes sense.

My response is whateveridontcaredowhatyouwantifyouneedhelpaskhere.

Posted

In my opinion, he already know that.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

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.

Posted

You must edit the water shader script to make it enable/disable with a function.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...