House Script help .
#1

Im tryin a new house system , but i keeep gettin these 3 errors.

HouseInfo[iIndex][hPickupID] = CreateDynamicPickup(1273, 23, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]);
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, .testlos = 1, .distance = 30.0);
++iIndex;
}
return fclose(iFileHandle);
}

tests.pwn(1607) : error 017: undefined symbol "distance"
tests.pwn(1607) : warning 215: expression has no effect
tests.pwn(1607) : error 001: expected token: ";", but found ")"
tests.pwn(1607) : error 029: invalid expression, assumed zero
tests.pwn(1607) : fatal error 107: too many error messages on one line
Reply
#2

Well... did you define distance as a float?
Reply
#3

Yes i did , sir.

So what else would be giving me these errors?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)