SA-MP Forums Archive
[Solved]Always return 0 ?? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Solved]Always return 0 ?? (/showthread.php?tid=415783)



[Solved]Always return 0 ?? - S0n1COwnsYou - 14.02.2013

Problem Solved.


Re: [Solved]Always return 0 ?? - SiDiCeR - 14.02.2013

show us "PlayerName();" stock


Re: [Solved]Always return 0 ?? - YoYo123 - 14.02.2013

This means the file doesn't exist. To create it you need to make a file handle:
pawn Код:
new File:hFile = fopen("fileName.txt", io_append);