28.12.2011, 23:16
The Errors
lines
these don't are the Effect
Quote:
C:\Users\Best-Life\Desktop\filterscripts\carownership.pwn(422 -- 423) : error 001: expected token: ",", but found "-identifier-" C:\Users\Best-Life\Desktop\filterscripts\carownership.pwn(423) : warning 215: expression has no effect C:\Users\Best-Life\Desktop\filterscripts\carownership.pwn(423 -- 424) : warning 215: expression has no effect C:\Users\Best-Life\Desktop\filterscripts\carownership.pwn(423 -- 425) : warning 215: expression has no effect C:\Users\Best-Life\Desktop\filterscripts\carownership.pwn(423 -- 426) : warning 215: expression has no effect C:\Users\Best-Life\Desktop\filterscripts\carownership.pwn(423 -- 427) : warning 215: expression has no effect C:\Users\Best-Life\Desktop\filterscripts\carownership.pwn(423 -- 42 : warning 215: expression has no effect C:\Users\Best-Life\Desktop\filterscripts\carownership.pwn(423 -- 429) : warning 215: expression has no effect C:\Users\Best-Life\Desktop\filterscripts\carownership.pwn(423 -- 430) : warning 215: expression has no effect C:\Users\Best-Life\Desktop\filterscripts\carownership.pwn(423 -- 431) : warning 215: expression has no effect C:\Users\Best-Life\Desktop\filterscripts\carownership.pwn(423 -- 432) : warning 215: expression has no effect C:\Users\Best-Life\Desktop\filterscripts\carownership.pwn(423 -- 433) : warning 215: expression has no effect C:\Users\Best-Life\Desktop\filterscripts\carownership.pwn(423 -- 434) : warning 215: expression has no effect C:\Users\Best-Life\Desktop\filterscripts\carownership.pwn(423 -- 436) : error 029: invalid expression, assumed zero C:\Users\Best-Life\Desktop\filterscripts\carownership.pwn(436 -- 437) : error 028: invalid subscript (not an array or too many subscripts): "idx" C:\Users\Best-Life\Desktop\filterscripts\carownership.pwn(436 -- 437) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
lines
Quote:
public OnPropUpdate() { new idx; new File: file2; idx = carsonserver; while (idx < sizeof(CarInfo)) { new coordsstring[256]; 422- format(coordsstring, sizeof(coordsstring), "%d,%f,%f,%f,%f,%d,%d,%s,%s,%d,%d,%d\n" 423- CarInfo[idx][cModel], 424- CarInfo[idx][cLocationx], 425- CarInfo[idx][cLocationy], 426- CarInfo[idx][cLocationz], 427- CarInfo[idx][cAngle], 428- CarInfo[idx][cColorOne], 429- CarInfo[idx][cColorTwo], 430- CarInfo[idx][cOwner], 431- CarInfo[idx][cDescription], 432- CarInfo[idx][cValue], 433- CarInfo[idx][cOwned], 434- CarInfo[idx][cLock], 435- 436- if(idx == carsonserver) 437 { 438 file2 = fopen("masini.cfg", io_write); 439 } 440 else .... { .... file2 = fopen("masini.cfg", io_append); ..... } ..... fwrite(file2, coordsstring); idx++; fclose(file2); } return 1; } |
Quote:
CarInfo[idx][cModel], CarInfo[idx][cLocationx], CarInfo[idx][cLocationy], CarInfo[idx][cLocationz], CarInfo[idx][cAngle], CarInfo[idx][cColorOne], CarInfo[idx][cColorTwo], CarInfo[idx][cOwner], CarInfo[idx][cDescription], CarInfo[idx][cValue], CarInfo[idx][cOwned], CarInfo[idx][cLock], |