I
ALREADY Changed the pX,pY,pZ in enums to Float
X,Float
Y,Float
Z
and here is my lines which get the warnings now
pawn Code:
format(Query, sizeof(Query), "UPDATE `PersonalInfo` SET PLAYERRANK = '%d', WANTEDLEVEL = '%d', SCORE = '%d', CASH = '%d', KILLS = '%d', DEATHS = '%d', X = '%d', Y = '%d', Z = '%d', INTERIOR = '%d', WORLD = '%d', HEALTH = '%d', ARMOR = '%d', SKIN = '%d' WHERE `NAME` = '%s'", DB_Escape(pInfo[playerid][pPLAYERRANK]),
DB_Escape(pInfo[playerid][pWANTEDLVL]),
DB_Escape(pInfo[playerid][pSCORE]),
DB_Escape(pInfo[playerid][pMONEY]),
DB_Escape(pInfo[playerid][pKILLS]),
DB_Escape(pInfo[playerid][pDEATHS]),
DB_Escape(pInfo[playerid][pX]),
DB_Escape(pInfo[playerid][pY]),
DB_Escape(pInfo[playerid][pZ]),
DB_Escape(pInfo[playerid][pINTERIOR]),
DB_Escape(pInfo[playerid][pWORLD]),
DB_Escape(pInfo[playerid][pHEALTH]),
DB_Escape(pInfo[playerid][pARMOR]),
DB_Escape(pInfo[playerid][pSKIN]),
DB_Escape(pName));
WARNINGS
pawn Code:
Current directory: C:\Users\Healian\Desktop\SA-MP\samp03e_svr_R2_win32\gamemodes
ARole.pwn(815 -- 821) : warning 213: tag mismatch
ARole.pwn(815 -- 822) : warning 213: tag mismatch
ARole.pwn(815 -- 823) : warning 213: tag mismatch
ARole.pwn(815 -- 826) : warning 213: tag mismatch
ARole.pwn(815 -- 827) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Warnings.
================ READY ================
Note : i tried to change the %d in the query to %f with no luck
My Enums after edit [fixed the first warnings that i opened the thread for but got the new warnings that i represented above ]
pawn Code:
enum pINF
{
prSTEP,
pSQ,
pSA,
pIP,
pRDATE,
pADMINLVL,
pVIPLVL,
pPLAYERRANK,
pWANTEDLVL,
pSCORE,
pMONEY,
pKILLS,
pDEATHS,
Float:pX,
Float:pY,
Float:pZ,
pINTERIOR,
pWORLD,
Float:pHEALTH,
Float:pARMOR,
pSKIN,
pWEAP1,
pWEAP1A,
pWEAP2,
pWEAP2A,
pWEAP3,
pWEAP3A,
pWEAP4,
pWEAP4A,
pWEAP5,
pWEAP5A,
pWEAP6,
pWEAP6A,
pVEHI1,
pVEHI2,
pVEHI3,
pVEHI4,
pVEHI5,
pJAILED,
pJAILTIME,
pWARNINGS,
pMUTED,
pCOLOR
};
new pInfo[MAX_PLAYERS][pINF];