SA-MP Forums Archive
Warning 202 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)
+--- Thread: Warning 202 Help. (/showthread.php?tid=497096)



Warning 202 Help. - iSkate - 25.02.2014

Код:
warning 202: number of arguments does not match definition
On that line, it is ...

Код:
    CreateCheckpoint(GLOBAL_OWNER_ID, NVPD_BASE_BOTT_CP, 2268.0991,2449.2891,-7.1953, 1.0);
...and I'm using CheckpointManager by Joгo Pedro Lopes. I am using the gamemode by Weponz NVCNR. I asked about this on it's official page but no one replied...i think.

I really need help guys.

Thanks in advanced


Re: Warning 202 Help. - Smileys - 25.02.2014

would you mind providing a link to that Checkpointmanager?


Re: Warning 202 Help. - Konstantinos - 25.02.2014

pawn Код:
native CreateCheckpoint(ownerid, chpid, Float:posX, Float:posY, Float:posZ);
from that include. As you can see, you have added an extra float at the end of it (1.0) when the function doesn't have 6 arguments, but 5.

pawn Код:
CreateCheckpoint(GLOBAL_OWNER_ID, NVPD_BASE_BOTT_CP, 2268.0991, 2449.2891, -7.1953);



Re: Warning 202 Help. - iSkate - 25.02.2014

Okay...


Re: Warning 202 Help. - iSkate - 25.02.2014

https://sampforum.blast.hk/showthread.php?tid=70963


Re: Warning 202 Help. - iSkate - 25.02.2014

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
pawn Код:
native CreateCheckpoint(ownerid, chpid, Float:posX, Float:posY, Float:posZ);
from that include. As you can see, you have added an extra float at the end of it (1.0) when the function doesn't have 6 arguments, but 5.

pawn Код:
CreateCheckpoint(GLOBAL_OWNER_ID, NVPD_BASE_BOTT_CP, 2268.0991, 2449.2891, -7.1953);
Sorry, didn't see your post....and very sorry to triple post. Thank you.