File,n'know.. help please.
#1

Hello everybody, i have problem, i not know how make this:
i have code:
Код:
new File:ftw=fopen("Dev_carLV.txt", io_readwrite);
new strin2g[30];
format(strin2g, 30, " %s = %d \r\n",oGetPlayerName(gamerLV),missionTime); 
fwrite(ftw, strin2g);
fclose(ftw);
this code write in file my string.
how make if missionTime figures more than - rewrite, if missionTime figures less to - SendMessageAll(Last record this mission:d%[missionTime])
Help me Please..
if not understand tell me..
Reply
#2

pawn Код:
if(missionTime > int)
{
//write
}
else
{
  SendClientMessageToAll();
}
Reply
#3

Quote:
Originally Posted by Brendan_Thomson
pawn Код:
if(missionTime > int)
{
//write
}
else
{
  SendClientMessageToAll();
}
fucking NEED that if the file string is var more, then ..
And what you have written, where the string that is compared with a line from a file?
Reply
#4

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)