19.08.2012, 23:19
I have created that code to return the Secret Question of a player on calling it
but i got this warning
pawn Код:
stock getPlayerSecret(playerid)
{
new
Query[ 384 ],
DBResult: Result,
pName[ MAX_PLAYER_NAME ],
Res[ 50 ]
;
GetPlayerName(playerid, pName, sizeof(pName));
format(Query, sizeof(Query), "SELECT SQ FROM `Accounts` WHERE `NAME` = '%s' COLLATE NOCASE", pName);
Result = db_query(DATABASE, Query);
format(Res, sizeof(Res), "%s", Result);
return Res;
}
pawn Код:
Current directory: C:\Users\Healian\Desktop\SA-MP\samp03e_svr_R2_win32\gamemodes
ARole.pwn(1690) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.
================ READY ================