SA-MP Forums Archive
number of arguments does not match with the definition. - 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: number of arguments does not match with the definition. (/showthread.php?tid=274460)



number of arguments does not match with the definition. - Alex_Obando - 06.08.2011

pawn Код:
C:\Users\Alex\Desktop\Otros\CodSamp\codsamp_aw\gamemodes\COD5.pwn(1802) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase

Header size:           9744 bytes
Code size:           541132 bytes
Data size:          2218560 bytes
Stack/heap size:      16384 bytes; estimated max. usage=5283 cells (21132 bytes)
Total requirements: 2785820 bytes

1 Warning.
pawn Код:
AddPlayerClass(28,107.71, 1920.21, 18.54,30,500,29,200,46,1); // merc spawn



Respuesta: number of arguments does not match with the definition. - Alex_Obando - 06.08.2011

Thanks Mr.

but....

pawn Код:
C:\Users\Alex\Desktop\Otros\CodSamp\codsamp_aw\gamemodes\COD5.pwn(1802) : error 001: expected token: ",", but found "-integer value-"
C:\Users\Alex\Desktop\Otros\CodSamp\codsamp_aw\gamemodes\COD5.pwn(1802) : warning 215: expression has no effect
C:\Users\Alex\Desktop\Otros\CodSamp\codsamp_aw\gamemodes\COD5.pwn(1802) : warning 215: expression has no effect
C:\Users\Alex\Desktop\Otros\CodSamp\codsamp_aw\gamemodes\COD5.pwn(1802) : warning 215: expression has no effect
C:\Users\Alex\Desktop\Otros\CodSamp\codsamp_aw\gamemodes\COD5.pwn(1802) : warning 215: expression has no effect
C:\Users\Alex\Desktop\Otros\CodSamp\codsamp_aw\gamemodes\COD5.pwn(1802) : warning 215: expression has no effect
C:\Users\Alex\Desktop\Otros\CodSamp\codsamp_aw\gamemodes\COD5.pwn(1802) : warning 215: expression has no effect
C:\Users\Alex\Desktop\Otros\CodSamp\codsamp_aw\gamemodes\COD5.pwn(1802) : error 001: expected token: ";", but found ")"
C:\Users\Alex\Desktop\Otros\CodSamp\codsamp_aw\gamemodes\COD5.pwn(1802) : error 029: invalid expression, assumed zero
C:\Users\Alex\Desktop\Otros\CodSamp\codsamp_aw\gamemodes\COD5.pwn(1802) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.



Re: number of arguments does not match with the definition. - [MG]Dimi - 06.08.2011

PHP код:
AddPlayerClass(28,107.711920.2118.54,0.0,30,500,29,200,46,1); // merc spawn 
From one easy question you guys made nuclear physics