Log in

View Full Version : problem with a scipt



peterspliid
06-23-2007, 02:06 PM
I'm trying to use powerskills 3.0 by Starblaster100

scar divi v3.06
SRL version 380

I get this error:

Failed when compiling
Line 1071: [Error] (19901:39): Invalid number of parameters in script

Here are three lines:

TakeScreen('Ent Avioded', EntsAvoided); line 1070
CheckGas('Ent', False, cx, cy); line 1071
Exit line 1072;

I have tried it with other scar versions too.

JAD
06-23-2007, 03:40 PM
I believe that script was originally made for SRL 3.6. Are you using SRL 3.6? And I'm not sure if he updated for new SRL's/New scar.

peterspliid
06-23-2007, 04:30 PM
Now i've tried it with with scar 2.03 and srl 3.6

It says:

Failed when compiling
Line 513: [Error] (20316:81): Invalid number of parameters in script

The three lines are:

Case i of
0: if not (FindFishingEquipment(FIC, Copy(Players[CurrentPlayer].String2, 2, 4))) then //Doesn't Work!
begin

Covert
06-23-2007, 06:50 PM
I get the same problem with Divi 3.6 + Patch using SRL 3.8