SA-MP Forums Archive
SCRIPT: Bad parameter count (Count is 6, Should be 5): HELP! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: SCRIPT: Bad parameter count (Count is 6, Should be 5): HELP! (/showthread.php?tid=98841)



SCRIPT: Bad parameter count (Count is 6, Should be 5): HELP! - [HLF]Southclaw - 23.09.2009

When I Start My samp server.exe I Get Loads Of These Errors And I Know It's Something To Do With One Of My Scripts But I Don't Know What It Happens When My MapMods FS Appears In The List And At The End When Everything Has Loaded It Only Started Happening And I DOn't Know What I Added That Made It Do This

Code:
SCRIPT: Bad parameter count (Count is 6, Should be 5):
Anyone Had This Before?? If So HOW DID YOU FIX IT!!
Thanks

:
. t#, : .,
;W ;##W. Ef . . ,Wt i
f#E :#L:WE E#t GEEEEEEELDi Dt i#D. LE .. ;
.E#f .KG ,#D E#t ,;;L#K;;.E#i E#i f#f L#E ;W, .DL
iWW; EE ;#f E#t t#E E#t E#t .D#i G#W. j##, f. :K#L LWL
L##Lffi f#. t#i E#t fi t#E E#t E#t :KW, D#K. G###, EW: ;W##L .E#f
tLLG##L :#G GK E#t L#j t#E E########f. t#f E#K. :E####, E#t t#KE#L ,W#;
,W#i ;#L LW. E#t L#L t#E E#j..K#j... ;#G .E#E. ;W#DG##, E#t f#D.L#L t#K:
j#E. t#f f#: E#tf#E: t#E E#t E#t :KE. .K#E j###DW##, E#jG#f L#LL#G
.D#j f#D#; E###f t#E E#t E#t .DW: .K#D G##i,,G##, E###; L###j
,WK, G#t E#K, t#E f#t f#t L#, .W#G :K#K: L##, E#K: L#W;
EG. t EL fE ii ii jt :W##########Wt ;##D. L##, EG LE.
, : : :,,,,,,,,,,,,,.,,, .,, ; ;@



Re: SCRIPT: Bad parameter count (Count is 6, Should be 5): HELP! - Mikep. - 23.09.2009

This means you have:

function(param, param, param, param, param, param);

But it's meant to be

function(param, param, param, param, param);


Re: SCRIPT: Bad parameter count (Count is 6, Should be 5): HELP! - [HLF]Southclaw - 23.09.2009

Thanks Now I Just Got To Find The Function But There's No 'Number of arguments does not match definition' Errors On Compile? So Whats Going On??


Re: SCRIPT: Bad parameter count (Count is 6, Should be 5): HELP! - Matej682 - 13.10.2009

i have the same problem, but i cant find the Function


Re: SCRIPT: Bad parameter count (Count is 6, Should be 5): HELP! - ysohnul - 19.10.2009

Quote:
Originally Posted by Matej682
i have the same problem, but i cant find the Function
Same here...


Re: SCRIPT: Bad parameter count (Count is 6, Should be 5): HELP! - woot - 19.10.2009

I suppose that happens compiling using the 0.3 libraries, so check out which functions have been modified.


Re: SCRIPT: Bad parameter count (Count is 6, Should be 5): HELP! - saifo997 - 19.02.2010

Quote:
Originally Posted by [RSH
JayKay ]
Quote:
Originally Posted by Matej682
i have the same problem, but i cant find the Function
Same here...
SAME! i get 50 errors like this one


Re: SCRIPT: Bad parameter count (Count is 6, Should be 5): HELP! - Rac3r - 19.02.2010

Probably CreatePickup or SetPlayerMapIcon

Check them.


Re: SCRIPT: Bad parameter count (Count is 6, Should be 5): HELP! - pyrodave - 19.02.2010

Have you updated your include files when you upgraded to 0.3, and then re-compiled the scripts you're using with those include files?


Re: SCRIPT: Bad parameter count (Count is 6, Should be 5): HELP! - saifo997 - 19.02.2010

iam on a 0.2 server i just added some vehicles
and it gives me this error..