Results 1 to 7 of 7

Thread: Need help, Noob is failing with script..

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,018
    Thanks
    2,110
    Thanked 1,086 Times in 753 Posts
    try it this way (and please notice the [code][/code] for your next source, so other ppl can read it better)

    fixed around 4 errors and the indention:

    Code:
    main()
    {
    	thread secret();
    }
    
    secret()
    {
    	fall = getent("fall", "targetname");
    	trig = getent("geheim_trig", "targetname");
    	while (true)
    	{
    		trig waittill("trigger", user);
    		if ((user.name == "Jim") || (user.name == "Terry") || (user.name == "bob"))
    		{
    			fall notsolid ();
    		} else {
    			fall solid ();
    		}
    	}
    }
    timescale 0.01

  2. The Following User Says Thank You to kung foo man For This Useful Post:

    Sexual-Healing (13th November 2012)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •