AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   how to read no bom date on bom file? (https://forums.alliedmods.net/showthread.php?t=154690)

0920357689 04-11-2011 20:21

how to read no bom date on bom file?
 
how to read no bom date on bom file?
i use
if (temp_read_data[0]==';')
OR
if(containi(temp_read_data,";") != 0)

not work, the ';' link will be read again and will read "utf-8 bom" on line 1

i use
read_file(menu_file,i,read,95,trash);
OR
fgets(file_open,temp_read_data,511);
not work too...

how to fix?

0920357689 04-11-2011 20:50

Re: how to read no bom date on bom file?
 
fix ...ned use the "!= -1"...
sorry about this error >__<


All times are GMT -4. The time now is 20:12.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.