26.11.2012, 18:27
Hello i realy need help with this problem when i update my streamer i get this errors (I have the latest include files)
Line>16943
i found this wich solves the error but is it the right way to solve it? i just changed Distance to Streamdistance
Код:
C:\Users\showarn\Desktop\Alexrp\gamemodes\ERP.pwn(16943) : error 017: undefined symbol "distance" C:\Users\showarn\Desktop\Alexrp\gamemodes\ERP.pwn(16943) : warning 215: expression has no effect C:\Users\showarn\Desktop\Alexrp\gamemodes\ERP.pwn(16943) : error 001: expected token: ";", but found ")" C:\Users\showarn\Desktop\Alexrp\gamemodes\ERP.pwn(16943) : error 029: invalid expression, assumed zero C:\Users\showarn\Desktop\Alexrp\gamemodes\ERP.pwn(16943) : fatal error 107: too many error messages on one line
Код:
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);
Код:
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, .testlos = 1, .streamdistance = 30.0);