01.04.2012, 15:20
(
Последний раз редактировалось Plastic; 01.04.2012 в 15:54.
)
Can anyone help me with this error?
I have the latest version of sscanf
pawn Код:
C:\DOCUME~1\Andrea\Desktop\LVCNR~1\pawno\include\sscanf2.inc(103) : error 017: undefined symbol "IsPlayerNPC"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
pawn Код:
public OnPlayerConnect(playerid)
{
new
name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof (name));
SSCANF_Join(playerid, name, IsPlayerNPC(playerid)); //line 103 in sscanf2 include
if (SSCANF_gOPDC)
{
/*#emit PUSH.S playerid
#emit PUSH.C 4
#emit LCTRL 6
#emit ADD.C 28
#emit PUSH.pri
#emit LOAD.pri SSCANF_gOPC
#emit SCTRL 6
#emit RETN*/
return CallLocalFunction("SSCANF_OnPlayerConnect", "i", playerid);
}
return 1;
}