mitza505 Posted December 29, 2011 Posted December 29, 2011 The Errors 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 effectC:\Users\Best-Life\Desktop\filterscripts\carownership.pwn(423 -- 424) : warning 215: expression has no effectC:\Users\Best-Life\Desktop\filterscripts\carownership.pwn(423 -- 425) : warning 215: expression has no effectC:\Users\Best-Life\Desktop\filterscripts\carownership.pwn(423 -- 426) : warning 215: expression has no effectC:\Users\Best-Life\Desktop\filterscripts\carownership.pwn(423 -- 427) : warning 215: expression has no effectC:\Users\Best-Life\Desktop\filterscripts\carownership.pwn(423 -- 428) : warning 215: expression has no effectC:\Users\Best-Life\Desktop\filterscripts\carownership.pwn(423 -- 429) : warning 215: expression has no effectC:\Users\Best-Life\Desktop\filterscripts\carownership.pwn(423 -- 430) : warning 215: expression has no effectC:\Users\Best-Life\Desktop\filterscripts\carownership.pwn(423 -- 431) : warning 215: expression has no effectC:\Users\Best-Life\Desktop\filterscripts\carownership.pwn(423 -- 432) : warning 215: expression has no effectC:\Users\Best-Life\Desktop\filterscripts\carownership.pwn(423 -- 433) : warning 215: expression has no effectC:\Users\Best-Life\Desktop\filterscripts\carownership.pwn(423 -- 434) : warning 215: expression has no effectC:\Users\Best-Life\Desktop\filterscripts\carownership.pwn(423 -- 436) : error 029: invalid expression, assumed zeroC:\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 lineCompilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase4 Errors.lines 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;}aici sunt alea care nu au effect 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],
xxSPEEDYxx Posted December 29, 2011 Posted December 29, 2011 http://www.sa-mp.ro/forum/index.php?board=87.0S-a facut sectiune pentru RP/GF!!Reported... Fara reclama in semnatura!
Question
mitza505
The Errors
lines
aici sunt alea care nu au effect
1 answer to this question
Recommended Posts