INI_WriteString Aint writing anything
#1

Fixed Thanks
Reply
#2

PHP код:
    format(ClanInfo[clanid][ClanFile], 20"COD/Clans/%d.ini"clanid);
    new 
INI:file INI_Open(ClanInfo[clanid][ClanFile]); 
Reply
#3

Quote:
Originally Posted by Meller
Посмотреть сообщение
PHP код:
    format(ClanInfo[clanid][ClanFile], 20"COD/Clans/%d.ini"clanid);
    new 
INI:file INI_Open(ClanInfo[clanid][ClanFile]); 
Well does it really matter since i am defining CLANPATH same as ClanFile ?
Reply
#4

Quote:
Originally Posted by Mohaaaaaaaaaaa
Посмотреть сообщение
Well does it really matter since i am defining CLANPATH same as ClanFile ?
Show your definition of CLANPATH, because often people use %d in the "PATH" definition, which must be formatted.
Reply
#5

Fixed Thanks
Reply
#6

How do you load? It has tag data but no INI_SetTag
Reply
#7

Quote:
Originally Posted by Mohaaaaaaaaaaa
Посмотреть сообщение
Код:
#define CLANPATH   "COD6/Clans/%d.ini"
Well yeah i am using %d but still i am using it for loading other shits and it's working fine
You can't use %d recklessly liek that, it must be defined, such as:

format(thatstring, sizeof thatstring, CLANPATH, thatid);
Reply
#8

Fine let me fix this
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)