Found this but not that bouring error .. -.-
#1

Codes
pawn Код:
if (APlayerData[playerid][LoggedIn] == true)
    {
        if IsPlayerInRangeOfPoint(playerid, 4.0, 361.8270, 174.0347, 1008.389))
        {
            // Check if the player doesn't have a bank account
            if (!fexist(file))
            {
Errors :

Код:
C:\DOCUME~1\Private\Desktop\NEWFOL~1\pawno\include\Files.inc(4853) : error 001: expected token: "*then", but found ")"
C:\DOCUME~1\Private\Desktop\NEWFOL~1\pawno\include\Files.inc(4853) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Rep+
Reply
#2

you've error in files.inc ( include ) find that line IN INCLUDE and post here
Reply
#3

pawn Код:
if IsPlayerInRangeOfPoint(playerid, 4.0, 361.8270, 174.0347, 1008.389))
There is something missing in that line
Reply
#4

if(IsPlayerInRangeOfPoint(playerid, 4.0, 361.8270, 174.0347, 1008.389)) the ( infront I
Reply
#5

Quote:
Originally Posted by ikbenremco
Посмотреть сообщение
if(IsPlayerInRangeOfPoint(playerid, 4.0, 361.8270, 174.0347, 1008.389)) the ( infront I
Thanks ill try that later as i am not in home now .

Quote:
Originally Posted by FUNExtreme
Посмотреть сообщение
pawn Код:
if IsPlayerInRangeOfPoint(playerid, 4.0, 361.8270, 174.0347, 1008.389))
There is something missing in that line
I already knew that .
Reply
#6

Код:
This will give u more detail understanding of what your are doing
https://sampforum.blast.hk/showthread.php?tid=273088
Reply
#7

Quote:
Originally Posted by Glad2BeHere
Посмотреть сообщение
Код:
This will give u more detail understanding of what your are doing
https://sampforum.blast.hk/showthread.php?tid=273088
What can be this helping me for ? It is out of topic . Nothing related to my question .
Reply
#8

pawn Код:
if (APlayerData[playerid][LoggedIn] == true)
    {
        if IsPlayerInRangeOfPoint(playerid, 4.0, 361.8270, 174.0347, 1008.389))
        {
            // Check if the player doesn't have a bank account
            if (!fexist(file))
            {
The above code is yours.

Your errors are stating that on this line of the code taken from above:
pawn Код:
if IsPlayerInRangeOfPoint(playerid, 4.0, 361.8270, 174.0347, 1008.389))
Your brackets don't match up.
Quote:

if IsPlayerInRangeOfPoint(playerid, 4.0, 361.8270, 174.0347, 1008.389))
Marked in green above is the opening brackets of that line. Marked in red is the closing brackets of that line. It is on a 1/2 ratio, meaning that the 'equation' is not equal. You have tried to close something from that statement that isn't there.

--

Try the code below and tell me your results:

pawn Код:
if(!IsPlayerInRangeOfPoint(playerid, 4, 361.8270, 174.0347, 1008.389))
Reply
#9

Kinda oblivious
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 4.0, 361.8270, 174.0347, 1008.389))
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)