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



number of arguments does not match definition - PDChaseOfficial - 24.12.2012

Hello,

The pawno is giving me random stupid error that its not supposed to.
heres the 2 simple lines.
Код:
line 74:SetPlayerCameraPos(playerid, 1205,5485, -1742,4109, 95,8657);
line 75:SetPlayerCameraLookAt(playerid, 1206,3422, -1741,8088, 95,6607);
warnings:
Код:
(74) : warning 202: number of arguments does not match definition
(74) : warning 202: number of arguments does not match definition
(74) : warning 202: number of arguments does not match definition
(75) : warning 202: number of arguments does not match definition
(75) : warning 202: number of arguments does not match definition
Anyone knows what that guys problem is?

Edit: Resolved. Thanks so much for your help guys. You both get REP++


Re: number of arguments does not match definition - Typhome - 24.12.2012

SetPlayerCameraPos(playerid, 1205.5485, -1742.4109, 95.8657);
SetPlayerCameraLookAt(playerid, 1206.3422, -1741.8088, 95.6607);

Here you go. Next time check the coordinates.


Re: number of arguments does not match definition - DaRk_RaiN - 24.12.2012

number of arguments does not match definition
Means that you've added or removed an argument which are separated by this character ,
In your case you've added an extra argument.