How to do this ?
#1

Before reading the problem solved by : https://github.com/Zeex/samp-plugin-...tect/issues/25 check this link .. thanks for all and Crash-detect team
hello i have this code
pawn Код:
new File:fp = fopen("sucks.txt", io_read);
if (fp) {
    new buf[128];
    fread(fp, buf);
    fclose(fp);
} else {
    printf("failed to open sucks.txt");
}
now how to make the script create the file if its not exist
Reply


Messages In This Thread
Solved : Code / Server Stops when write - by Joe_Goro - 28.11.2013, 11:08
Re: How to do this ? - by xVIP3Rx - 28.11.2013, 11:20
Re: How to do this ? - by Konstantinos - 28.11.2013, 11:22
Re: How to do this ? - by Joe_Goro - 28.11.2013, 11:26
Re: How to do this ? - by Konstantinos - 28.11.2013, 11:29
Re: How to do this ? - by Joe_Goro - 28.11.2013, 11:37
Re: How to do this ? - by Konstantinos - 28.11.2013, 11:41
Re: How to do this ? - by Joe_Goro - 28.11.2013, 11:43
Re: How to do this ? - by Joe_Goro - 28.11.2013, 21:10

Forum Jump:


Users browsing this thread: 4 Guest(s)