Errors
#1

I get these errors

C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(424) : warning 217: loose indentation
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1256) : warning 217: loose indentation
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1261) : warning 202: number of arguments does not match definition
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1283) : warning 202: number of arguments does not match definition
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1542) : warning 217: loose indentation
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1566) : warning 217: loose indentation
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1674) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1679) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1684) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1689) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1694) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1699) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1704) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1709) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1714) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1719) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1724) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1729) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1915) : warning 203: symbol is never used: "dcmd_exit"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


12 Errors.

Anybody knows whats wrong?
Reply
#2

Showing us the lines of the errors would be very good.Thanks.
Reply
#3

Maybe you are missing some symbol codes such as ";". Check the the last edits by you in your script.
Reply
#4

These are the lines from the errors :

{
if (IsPlayerInRangeOfPoint(playerid, 7.0,HotPoint1))
{
SetPlayerCheckpoint(playerid, HotPoint2, 7.0);
GameTextForPlayer(playerid, "~g~1 House done!", 3000, 3);
}
if (IsPlayerInRangeOfPoint(playerid, 7.0,HotPoint2))
{
SetPlayerCheckpoint(playerid, HotPoint3, 7.0);
GameTextForPlayer(playerid, "~g~2 Houses done!", 3000, 3);
}
if (IsPlayerInRangeOfPoint(playerid, 7.0,HotPoint3))
{
SetPlayerCheckpoint(playerid, HotPoint4, 7.0);
GameTextForPlayer(playerid, "~g~3 Houses done!", 3000, 3);
}
if (IsPlayerInRangeOfPoint(playerid, 7.0,HotPoint4))
{
SetPlayerCheckpoint(playerid, HotPoint5, 7.0);
GameTextForPlayer(playerid, "~g~4 Houses done!", 3000, 3);
}
if (IsPlayerInRangeOfPoint(playerid, 7.0,HotPoint5))
{
SetPlayerCheckpoint(playerid, Refillpoint, 7.0);
GameTextForPlayer(playerid, "~g~5 Houses done, refill your hotdogs at the marker!", 3000, 3);
}
if (IsPlayerInRangeOfPoint(playerid, 7.0,Refillpoint))
{
SetPlayerCheckpoint(playerid, HotPoint6, 7.0);
GameTextForPlayer(playerid, "~g~Hotdogs refilled!", 3000, 3);
}
if (IsPlayerInRangeOfPoint(playerid, 7.0,HotPoint6))
{
SetPlayerCheckpoint(playerid, HotPoint7, 7.0);
GameTextForPlayer(playerid, "~g~6 Houses done!", 3000, 3);
}
if (IsPlayerInRangeOfPoint(playerid, 7.0,HotPoint7))
{
SetPlayerCheckpoint(playerid, HotPoint8, 7.0);
GameTextForPlayer(playerid, "~g~7 Houses done!", 3000, 3);
}
if (IsPlayerInRangeOfPoint(playerid, 7.0,HotPoint)
{
SetPlayerCheckpoint(playerid, HotPoint9, 7.0);
GameTextForPlayer(playerid, "~g~8 Houses done!", 3000, 3);
}
if (IsPlayerInRangeOfPoint(playerid, 7.0,HotPoint9))
{
SetPlayerCheckpoint(playerid, HotPoint10, 7.0);
GameTextForPlayer(playerid, "~g~9 Houses done!", 3000, 3);
}
if (IsPlayerInRangeOfPoint(playerid, 7.0,HotPoint10))
{
SetPlayerCheckpoint(playerid, HotPoint11, 7.0);
GameTextForPlayer(playerid, "~g~10 Houses done, get back to the startpoint!", 3000, 3);
}
if (IsPlayerInRangeOfPoint(playerid, 7.0,HotPoint11))
{
Reply
#5

I don't see why it shouldn't work
Reply
#6

update includes and pawno
Reply
#7

The warnings about identification is because the way your code is writen.

The other errors i think thats caused by a missing ';', '{', etc.

Or update your incs.
Reply
#8

Quote:
Originally Posted by remyguys
I get these errors

C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(424) : warning 217: loose indentation
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1256) : warning 217: loose indentation
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1261) : warning 202: number of arguments does not match definition
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1283) : warning 202: number of arguments does not match definition
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1542) : warning 217: loose indentation
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1566) : warning 217: loose indentation
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1674) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1679) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1684) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1689) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1694) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1699) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1704) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1709) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1714) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1719) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1724) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1729) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1915) : warning 203: symbol is never used: "dcmd_exit"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


12 Errors.

Anybody knows whats wrong?
According to the errors i don't think its a missing bracket,

I think you don't have defined:

"IsPlayerInRangeOfPoint"

The loose indent warnings just shows ur code that is not indented

C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1261) : warning 202: number of arguments does not match definition
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1283) : warning 202: number of arguments does not match definition

according to those errors you didn't write specific parameters to the function

C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1915) : warning 203: symbol is never used: "dcmd_exit"

and to this one you got Onplayercmdtext

dcmd(exit,4,cmdtext);

which is not used anywhere.. guess im correct.. Correct? ^^
Reply
#9

Quote:
Originally Posted by 0ne
Quote:
Originally Posted by remyguys
I get these errors

C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(424) : warning 217: loose indentation
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1256) : warning 217: loose indentation
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1261) : warning 202: number of arguments does not match definition
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1283) : warning 202: number of arguments does not match definition
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1542) : warning 217: loose indentation
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1566) : warning 217: loose indentation
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1674) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1679) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1684) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1689) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1694) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1699) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1704) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1709) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1714) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1719) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1724) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1729) : error 017: undefined symbol "IsPlayerInRangeOfPoint"
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1915) : warning 203: symbol is never used: "dcmd_exit"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


12 Errors.

Anybody knows whats wrong?
According to the errors i don't think its a missing bracket,

I think you don't have defined:

"IsPlayerInRangeOfPoint"

The loose indent warnings just shows ur code that is not indented

C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1261) : warning 202: number of arguments does not match definition
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1283) : warning 202: number of arguments does not match definition

according to those errors you didn't write specific parameters to the function

C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1915) : warning 203: symbol is never used: "dcmd_exit"

and to this one you got Onplayercmdtext

dcmd(exit,4,cmdtext);

which is not used anywhere.. guess im correct.. Correct? ^^
Yes.
Reply
#10

Well i did some things. Now no more errors but now i get this

C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(130) : warning 215: expression has no effect
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(131) : warning 215: expression has no effect
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(132) : warning 215: expression has no effect
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(133) : warning 215: expression has no effect
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(134) : warning 215: expression has no effect
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(135) : warning 215: expression has no effect
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(136) : warning 215: expression has no effect
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(137) : warning 215: expression has no effect
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(13 : warning 215: expression has no effect
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(139) : warning 215: expression has no effect
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(140) : warning 215: expression has no effect
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(141) : warning 215: expression has no effect
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(142) : warning 215: expression has no effect
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(143) : warning 215: expression has no effect
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(144) : warning 215: expression has no effect
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(145) : warning 215: expression has no effect
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(146) : warning 215: expression has no effect
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(147) : warning 215: expression has no effect
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(14 : warning 215: expression has no effect
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(149) : warning 215: expression has no effect
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(150) : warning 215: expression has no effect
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(151) : warning 215: expression has no effect
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(152) : warning 215: expression has no effect
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(153) : warning 215: expression has no effect
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(154) : warning 215: expression has no effect
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(155) : warning 215: expression has no effect
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(156) : warning 215: expression has no effect
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(157) : warning 215: expression has no effect
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(163) : warning 217: loose indentation
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(45 : warning 217: loose indentation
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1290) : warning 217: loose indentation
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1295) : warning 202: number of arguments does not match definition
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1317) : warning 202: number of arguments does not match definition
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1576) : warning 217: loose indentation
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1600) : warning 217: loose indentation
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(170 : warning 206: redundant test: constant expression is non-zero
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1713) : warning 206: redundant test: constant expression is non-zero
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(171 : warning 206: redundant test: constant expression is non-zero
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1723) : warning 206: redundant test: constant expression is non-zero
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(172 : warning 206: redundant test: constant expression is non-zero
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1733) : warning 206: redundant test: constant expression is non-zero
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(173 : warning 206: redundant test: constant expression is non-zero
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1743) : warning 206: redundant test: constant expression is non-zero
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(174 : warning 206: redundant test: constant expression is non-zero
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1753) : warning 206: redundant test: constant expression is non-zero
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(175 : warning 206: redundant test: constant expression is non-zero
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1763) : warning 206: redundant test: constant expression is non-zero
C:\Users\Remy\Downloads\samp03asvr_R7_win32\gamemo des\AntonioRP.pwn(1950) : warning 203: symbol is never used: "dcmd_exit"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


48 Warnings.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)