Warning 202 Help.
#1

Код:
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
Reply
#2

would you mind providing a link to that Checkpointmanager?
Reply
#3

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);
Reply
#4

Okay...
Reply
#5

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

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)