Log in

View Full Version : how do u fix this error????invalid number of parameters in script



killer360433
08-25-2007, 10:06 PM
invalid number of parameters in script.....

how do u fix that error???

Timer
08-25-2007, 10:08 PM
could Be many things post the part of the script and error that came from the Debug Box Then You Get your help...:p

Derek-
08-25-2007, 10:37 PM
It could also be because either
A. You have SRL 4 and you are using a script not updated for SRL 4 or
B. You don't have SRL 4 and are trying to run a script that is updated for SRL 4

if it is your own script that you are making..
there are plenty of tutorials that can help you with it =]

HyperSecret
08-26-2007, 01:24 AM
or you could use the search button or go to the tut section and look for a tut that explains errors...that would be the easiest!

rotflmfwao
08-26-2007, 02:55 PM
Invalid number of peramiters means that you used a procedure or function with peramiters, and you filled in the incorrect number of them.
EX:
You used the mouse function as thus;Mouse(164,372,2,3)
but the Mouse function needs a total of 5 peramiters to make it work, and you put in 4.
This would be correct;Mouse(164,372,2,3,True) because it has all 5 peramiters filled in.

killer360433
08-26-2007, 07:44 PM
wow lots of replies thanks guys the script just wasnt compatible with srl4, as easy as that lol. anyways thanks.

rotflmfwao
08-26-2007, 08:07 PM
Np, its what we do :)