Checkpoint Manager
#1

Anyone knows why I'm getting this error?

Код:
fatal error 100: cannot read from file: "CheckpointManager"
I put it in the script

pawn Код:
#include <CheckpointManager>
and I also have CheckpointManager.inc in the include files (pawno/include)

But when I try to compile it, I got that error above.

Thanks
Reply
#2

Maybe you have more than one pawno installed. If so try compiling the script with the pawno THAT has the .inc file in its include folder.
Reply
#3

Quote:
Originally Posted by HellSphinX
Посмотреть сообщение
Maybe you have more than one pawno installed. If so try compiling the script with the pawno THAT has the .inc file in its include folder.
I deleted the other pawno and that error was gone but I compiled it again and I got this error and warnings

Код:
.pwn(836) : warning 202: number of arguments does not match definition
.pwn(838) : warning 202: number of arguments does not match definition
.pwn(840) : warning 202: number of arguments does not match definition
.pwn(842) : warning 202: number of arguments does not match definition
.pwn(844) : warning 202: number of arguments does not match definition
.pwn(846) : warning 202: number of arguments does not match definition
.pwn(848) : warning 202: number of arguments does not match definition
.pwn(850) : warning 202: number of arguments does not match definition
.pwn(851) : warning 202: number of arguments does not match definition
.pwn(853) : warning 202: number of arguments does not match definition
.pwn(855) : warning 202: number of arguments does not match definition
.pwn(857) : warning 202: number of arguments does not match definition
.pwn(859) : warning 202: number of arguments does not match definition
.pwn(861) : warning 202: number of arguments does not match definition
.pwn(3581) : error 001: expected token: "*/", but found "-end of file-"
The line 836:

pawn Код:
CreateCheckpoint(GLOBAL_OWNER_ID, DRAG_ROB, 1940.3191,1017.8076,992.4688);
The other lines is same as the above except the line 3581 but there is no line 3581.

Thanks
Reply
#4

Can you tell which checkpoint manager do you use (A url to the release thread is enough)?
Reply
#5

Quote:
Originally Posted by HellSphinX
Посмотреть сообщение
Can you tell which checkpoint manager do you use (A url to the release thread is enough)?
Here it is http://www.solidfiles.com/d/e845586f5d/
Reply
#6

I cannot download this file (Says file not found or removed). Anyway look this error comes when you have more or less arguments than you should have. Example:

pawn Код:
SendClientMessage(playerid, -1, "Message", true);
This would give me the number of arguments does not match definition
error because SendClientMessage does not take 4 parameters but 3 so it should be:

pawn Код:
SendClientMessage(playerid, -1, "Message");
The point of this is that you might be using the CreateCheckpoint function with more or less arguments so go check the defination of it and how many arguments it takes.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)