23.05.2012, 01:05
Alright so 0.3e comes out and I'm updating my script. I've never really had this problem before so its strange. I've played a bit around with my script to see if I can get rid of errors but i couldn't.
Errors-
Line-
Some Code around it-
Errors-
Код:
C:\Users\James\Desktop\FSRP\FSRP\gamemodes\FSRP.pwn(188) : error 017: undefined symbol "distance" C:\Users\James\Desktop\FSRP\FSRP\gamemodes\FSRP.pwn(188) : warning 215: expression has no effect C:\Users\James\Desktop\FSRP\FSRP\gamemodes\FSRP.pwn(188) : error 001: expected token: ";", but found ")" C:\Users\James\Desktop\FSRP\FSRP\gamemodes\FSRP.pwn(188) : error 029: invalid expression, assumed zero C:\Users\James\Desktop\FSRP\FSRP\gamemodes\FSRP.pwn(188) : 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][hPickupID] = CreateDynamicPickup(1273, 23, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]); (Line 188) 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); }