Problem help here?
#1

Error i get
Код:
C:\Users\Robins\Desktop\New folder\pawno\include\/CRP/Publics/OnPlayerEnterCheckpoint.pwn(13) : error 017: undefined symbol "CHECKPOINT_NONE"
C:\Users\Robins\Desktop\New folder\pawno\include\/CRP/Publics/OnPlayerEnterCheckpoint.pwn(15) : error 017: undefined symbol "ATMs"
C:\Users\Robins\Desktop\New folder\pawno\include\/CRP/Publics/OnPlayerEnterCheckpoint.pwn(15) : error 036: empty statement
C:\Users\Robins\Desktop\New folder\pawno\include\/CRP/Publics/OnPlayerEnterCheckpoint.pwn(15) : error 017: undefined symbol "i"
code
pawn Код:
case CHECKPOINT_NONE:
        {
            for(new i = 0; i < sizeof(ATMs); i++)
            {
                if(IsPlayerInRangeOfPoint(playerid,3.0,ATMs[i][0],ATMs[i][1],ATMs[i][2]))
                {
                    ShowPlayerDialog(playerid, 143, DIALOG_STYLE_LIST, "Automatic Transaction Machine", "Withdraw\nBalance Enquiry", "Select", "Cancel");
                }
            }
Reply
#2

You ahve
pawn Код:
#define CHECKPOINT_NONE
?

If yes can you show me 20 lines before this first line you posted. The problem is maybe there
Reply
#3

pawn Код:
include\/CRP
It's right?
Reply
#4

Код:
#define CHECKPOINT_NONE
i already got that.


Код:
#include "/CRP/
Reply
#5

Anyone know the problem?
Reply
#6

Quote:
Originally Posted by [MG]Dimi
Посмотреть сообщение
You ahve
pawn Код:
#define CHECKPOINT_NONE
?

If yes can you show me 20 lines before this first line you posted. The problem is maybe there
here you go

pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
    if(IsPlayerNPC(playerid)) return 1;
    new string[128],sendername[MAX_PLAYER_NAME];
    switch(PlayerInfo[playerid][pCheckpoint])
    {
Reply
#7

I think you have to just add this " #define CHECKPOINT_NONE "number" " at defines and add the number
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)