C:\Users\Mohamed\Desktop\New York City Roleplay\gamemodes\NYRP.pwn(16901) : error 017: undefined symbol "distance" C:\Users\Mohamed\Desktop\New York City Roleplay\gamemodes\NYRP.pwn(16901) : warning 215: expression has no effect C:\Users\Mohamed\Desktop\New York City Roleplay\gamemodes\NYRP.pwn(16901) : error 001: expected token: ";", but found ")" C:\Users\Mohamed\Desktop\New York City Roleplay\gamemodes\NYRP.pwn(16901) : error 029: invalid expression, assumed zero C:\Users\Mohamed\Desktop\New York City Roleplay\gamemodes\NYRP.pwn(16901) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
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);
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)
{
// Code
}
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, 1,30);
Код:
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, 1,30); |
C:\Users\Mohamed\Desktop\New York City Roleplay\gamemodes\NYRP.pwn(16901) : warning 217: loose indentation C:\Users\Mohamed\Desktop\New York City Roleplay\gamemodes\NYRP.pwn(52475) : error 017: undefined symbol "distance" C:\Users\Mohamed\Desktop\New York City Roleplay\gamemodes\NYRP.pwn(52475) : warning 215: expression has no effect C:\Users\Mohamed\Desktop\New York City Roleplay\gamemodes\NYRP.pwn(52475) : error 001: expected token: ";", but found ")" C:\Users\Mohamed\Desktop\New York City Roleplay\gamemodes\NYRP.pwn(52475) : error 029: invalid expression, assumed zero C:\Users\Mohamed\Desktop\New York City Roleplay\gamemodes\NYRP.pwn(52475) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
HouseInfo[house][hTextID] = CreateDynamic3DTextLabel( string, COLOR_GREEN, HouseInfo[house][hExteriorX], HouseInfo[house][hExteriorY], HouseInfo[house][hExteriorZ]+0.5, 30.0, .testlos = 1, .distance = 30.0);
return 1;
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); |
As I said before..
Change .distance to .streamdistance. I had this problem before, changing it to .streamdistance fixed it for me. |