Error 004
#1

pawn Код:
if(!strcmp(text, answerstr, false))
    {
        if(nukannietmaths==1)
        {
            Inter_SendClientMessage(playerid,0x247C1BFF,"* You took a lot of time to answer. Quiz was already canceled.!");
        }
        else
        {
            if(mathsinprog == 2) MathsWin(playerid);
        }
    }
    if(!strcmp(text, reactionstr, false))
    {
        if(nukannietreaction==1)
        {
            Inter_SendClientMessage(playerid,0x247C1BFF,"* You took a lot of time to answer. Quiz was already canceled.!");
        } else
        {
            if(reactioninprog == 2) ReactionWin(playerid);
        }
    }
    if(!strcmp(text, numberstr, false))
    {
        if(nukannietnumber==1)
        {
            Inter_SendClientMessage(playerid,0x247C1BFF,"* You took a lot of time to answer. Quiz was already canceled.!");
        } else
        {
            if(numberinprog == 2) NumberWin(playerid);
        }
    }
pawn Код:
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(2819) : error 004: function "MathsWin" is not implemented
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(2841) : error 004: function "ReactionWin" is not implemented
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(2861) : error 004: function "NumberWin" is not implemented
All Files
Click Me
Reply
#2

You simply don't have the three functions you used in your current gamemode or include files.

To fix: Easily make them.
Reply
#3

Something is wrong, checking again
Reply
#4

You Want The Whole Script ?
Click Me
Then Go To GameMode/SATDM
Fix It Please -_-
Reply
#5

any one ?
Reply
#6

As far as I know, this error comes when you've forwarded, but you haven't added the public callback.
pawn Код:
forward MathsWin(playerid);
forward ReactionWin(playerid);
forward NumberWin(playerid);
You need to add code, to the public callback that you don't have.
pawn Код:
public MathsWin(playerid)
{
    // something
    return something; // it depends 0/1
}
public ReactionWin(playerid)
{
    // something
    return something; // it depends 0/1
}
public NumberWin(playerid)
{
    // something
    return something; // it depends 0/1
}
Reply
#7

Quote:
Originally Posted by windrush
Посмотреть сообщение
any one ?
I downloaded your server files and opened up the source code, and in it I found all the functions you got errors on, so I don't see how it's giving you this error unless you have some missing brackets.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)