Real Og Posted July 18, 2023 Share Posted July 18, 2023 anyone know what im doing wrong here its says "Not enough actual parameters. Expected 2 params." while compiling it. help me {$CLEO .cs} //-------------MAIN--------------- thread "ENABLE_SUN_SHADOWS" :ENABLE_SUN_SHADOWS_1 wait 0 if Player.Defined($PLAYER_CHAR) else_jump @ENABLE_SUN_SHADOWS_1 while true wait 0 // Check if it's daytime and the sun is visible if 0109: player $PLAYER_CHAR made_progress_with_date_time and 010C: actor $PLAYER_ACTOR near_actor $PLAYER_CHAR radius 40.0 40.0 sphere 0 then // Enable shadows for objects 0380: set_object $PLAYER_CHAR shadows 1 // Enable object shadows // Enable shadows for pedestrians 0380: set_actor $PLAYER_ACTOR shadows 1 // Enable pedestrian shadows // Set ambient shadows intensity 07DD: set_ambient_shadows_intensity 255 else // Disable shadows 0380: set_object $PLAYER_CHAR shadows 0 // Disable object shadows 0380: set_actor $PLAYER_ACTOR shadows 0 // Disable pedestrian shadows // Reset ambient shadows intensity 07DD: set_ambient_shadows_intensity 0 end end help me Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now