Hey, warum bekomme ich bei den House_Coords warns?
new float:HOUSE_COORDS[MAX_PLAYERS][6];
new rand = random(2147483647);
GetPlayerPos(playerid,HOUSE_COORDS[playerid][0],HOUSE_COORDS[playerid][1],HOUSE_COORDS[playerid][2]);
switch(listitem)
{
case 0:
{
HOUSE_COORDS[playerid][3] = 1523.509887;
HOUSE_COORDS[playerid][4] = -47.821197;
HOUSE_COORDS[playerid][5] = 1002.130981;
HOUSE_INTERIOR[playerid] = 2;
HOUSE_VIRTUAL_WORLD[playerid] = rand;
}
case 1:
{
HOUSE_COORDS[playerid][3] = 2496.049804;
HOUSE_COORDS[playerid][4] = -1695.238159;
HOUSE_COORDS[playerid][5] = 1014.742187;
HOUSE_INTERIOR[playerid] = 3;
HOUSE_VIRTUAL_WORLD[playerid] = rand;
}
case 2:
{
HOUSE_COORDS[playerid][3] = 1267.663208;
HOUSE_COORDS[playerid][4] = -781.323242;
HOUSE_COORDS[playerid][5] = 1091.906250;
HOUSE_INTERIOR[playerid] = 5;
HOUSE_VIRTUAL_WORLD[playerid] = rand;
}
}
//edit: Warns:
warning 213: tag mismatch
Überall, wo HOUSE_COORDS.. steht