[Help] Y_INI + Y_INLINE problem at loading single string.
#3

Quote:
Originally Posted by NoDi522
Посмотреть сообщение
{
new str[126],name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name)); // I changed this with ( ) . I dont know if that is mistake but you miss it.
inline SingleString(string:name[], string:value[])
{
INI_String("pName",str,126);
}
INI_ParseFile(name,using inline "SingleString");
printf(str);
return 1;
}
no changes.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)