Пользователь
- Сообщения
- 50
- Реакции
- -1
Hi i need help with this line of read from file
read_file(TopSaveFile , 1 , sztopmin , charsmax( sztopmin ) ,iLen );
When im reading the file it only gives me 1 numeric of the saved line instead of two, for example when saving 04 i get 4 in return from the line
what is wrong?
read_file(TopSaveFile , 1 , sztopmin , charsmax( sztopmin ) ,iLen );
When im reading the file it only gives me 1 numeric of the saved line instead of two, for example when saving 04 i get 4 in return from the line
what is wrong?
Код:
new TopSaveFile[72],MapName[32];
get_mapname(MapName,32);
formatex(TopSaveFile,charsmax(TopSaveFile),"addons/amxmodx/configs/%s_save.ini",MapName);
new sztopmin[ 32 ], iLen;
if(file_exists(TopSaveFile))
{
read_file(TopSaveFile , 1 , sztopmin , charsmax( sztopmin ) ,iLen );