05.06.2017, 23:43
stock getPlayerLandID(playerid)
{
for(int<<<< i get the error here i = 0; i < MAX_LANDS; i++)
if(landInfo[i][lCreated])
if(IsPlayerInRangeOfPoint(playerid, LAND_RANGE, landInfo[i][lIconX], landInfo[i][lIconY], landInfo[i][lIconZ]))
return i;
return INVALID_LAND_ID;
}
says its undefined int
{
for(int<<<< i get the error here i = 0; i < MAX_LANDS; i++)
if(landInfo[i][lCreated])
if(IsPlayerInRangeOfPoint(playerid, LAND_RANGE, landInfo[i][lIconX], landInfo[i][lIconY], landInfo[i][lIconZ]))
return i;
return INVALID_LAND_ID;
}
says its undefined int