Jump to content
  • 0

System Car Personal


mitza505

Question

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 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 -- 428) : 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

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],

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.