Need help with fread.
#1

PHP код:
stock LoadProject(pjname[])
{
    new 
File:handle fopen(pjname,io_read);
    new 
td_Info[128];
    if(
handle)
    {
        while(
fread(handle,td_Info))
        {
             
SendClientMessageToAll(-1,td_Info);
             
printf(td_Info);
        }
    }
}
CMD:te(playerid,params[])
{
    
LoadProject("TD_test.txt");
    return 
1;
    

Reply


Messages In This Thread
Need help with fread. - by Maheerali - 28.09.2016, 13:08
Re: Need help with fread. - by iLearner - 28.09.2016, 13:10
Re: Need help with fread. - by Maheerali - 28.09.2016, 13:38
Re: Need help with fread. - by F1N4L - 28.09.2016, 13:39
Re: Need help with fread. - by Maheerali - 28.09.2016, 13:43
Re: Need help with fread. - by F1N4L - 28.09.2016, 13:46

Forum Jump:


Users browsing this thread: 1 Guest(s)