21.05.2011, 09:43
Why am i getting these warnings?
Warning lines
pawn Код:
enum hinfo
{
Float:XPos,
Float:YPos,
Float:ZPos,
Float:TeleXPos,
Float:TeleYPos,
Float:TeleZPos,
Interior,
Price
}
new HInfo[hinfo][MAX_HOUSES];
pawn Код:
COMMAND:createhouse(playerid,params[])
{
new Float:x,Float:y,Float:z,ID = HouseCount;
if(!IsPlayerAdmin(playerid)) return 0;
GetPlayerPos(playerid,x,y,z);
HInfo[ID][XPos] = x;
HInfo[ID][YPos] = y;
HInfo[ID][ZPos] = z;
HouseCP[ID] = CreateDynamicCP(x,y,z,HOUSE_CHECKPOINT_SIZE,GetPlayerVirtualWorld(playerid),GetPlayerInterior(playerid),-1,HOUSE_CHECKPOINT_VIEW_DISTANCE);
return 1;
}
Код:
C:\Users\Admin\Desktop\Untitled.pwn(58) : warning 213: tag mismatch C:\Users\Admin\Desktop\Untitled.pwn(59) : warning 213: tag mismatch C:\Users\Admin\Desktop\Untitled.pwn(60) : warning 213: tag mismatch Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Warnings.
pawn Код:
HInfo[ID][XPos] = x;
HInfo[ID][YPos] = y;
HInfo[ID][ZPos] = z;