Error 004 - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Error 004 (
/showthread.php?tid=397082)
Error 004 -
Windrush - 03.12.2012
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
Re: Error 004 -
LarzI - 03.12.2012
You simply don't have the three functions you used in your current gamemode or include files.
To fix: Easily make them.
Re: Error 004 -
Unirom Shaw - 03.12.2012
Something is wrong, checking again
Re: Error 004 -
Windrush - 03.12.2012
You Want The Whole Script ?
Click Me
Then Go To GameMode/SATDM
Fix It Please -_-
Re: Error 004 -
Windrush - 03.12.2012
any one ?
Re: Error 004 -
Konstantinos - 03.12.2012
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
}
Re: Error 004 -
LarzI - 03.12.2012
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.