09.12.2010, 19:07
Look, in my code:
The problem: the line "and the color is: %s" dont shown, and the file (car1.txt) is:
All the code: http://pastebin.com/8zugnjGK
Thanks.
BTW: Its filterscript, I didnt get any error and after this (that the line isnt apprear) the filterscript unloaded (because of invisible error).
Код:
format(file,sizeof(file),"/CarSys/car%d.txt",car); printf("This is the file: %s",file); if (fexist(file)) { printf("ITs exists..."); printf("and the color is: %s",dini_Get(file,"Colour1")); ........................
Код:
CarID=1 CarName=Banshee CarModel=429 CarOwned=0 CarOwner=none CarLocked=0 Buyable=1 Price=50000 Parkedx=0 Parkedy=0 Parkedz=0 Parkedangle=0 CarMod1=0 Nitros=0 PaintJob=-1 Colour1=-1 Colour2=-1
Thanks.
BTW: Its filterscript, I didnt get any error and after this (that the line isnt apprear) the filterscript unloaded (because of invisible error).