Results 1 to 5 of 5

Thread: Invalid number of parameters at line 292

  1. #1
    Join Date
    Jul 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Invalid number of parameters at line 292

    I followed official guides and i've looked for help in so many threads but i still don't know how to fix this. Please help!

  2. #2
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    Could u post the full error you're getting?

    I'm just gonna take a guess here, but change this on top of the script: {$Define SMART} to {$Define SMART8} or vice versa.

    Creds to DannyRS for this wonderful sig!

  3. #3
    Join Date
    Jul 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    [Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(293:131): Invalid number of parameters at line 292

    And no, it's already {$Define SMART8}.

  4. #4
    Join Date
    Dec 2011
    Location
    Holland
    Posts
    455
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Could you post the script, since we don't know what is written on line 292...

    Since I won't be able to reply soon,

    An error with "Invalid number of parameters" usually something is wrong with the parameters between these things ( ) (sorry don't know how to call them xd)

    For example:

    Simba Code:
    //Correct
      If FindDTM(DTMName,x,y,MSX1,MSY1,MSX2,MSY2) then
        .....

    //Incorrect
      If FindDTM(DTMName,MSX1,MSY1,MSX2,MSY2) then
        ....
    //or
      If FindDTM(x,y,DTMName,MSX1,MSY1,MSX2,MSY2) then
        ...

    So just check this by removing everything between the ( ) and remove these two ( ) aswell. Then start with ( and simba should say which parameters should be used.
    07Scripter
    I mostly write private scripts

  5. #5
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    Quote Originally Posted by BUITEU View Post
    [Error] C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(293:131): Invalid number of parameters at line 292

    And no, it's already {$Define SMART8}.
    Yeah try the other way around (which means vice versa)

    Creds to DannyRS for this wonderful sig!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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