18.02.2016, 20:55
This should settle things up.
PHP код:
#define korong "inidir/%s.ini"
// OnPlayerConnect
new str[64];
GetPlayerName(playerid, str, MAX_PLAYER_NAME);
format(str, sizeof(str), korong, str); // korong #define dir .ini fle on top
INI_ParseFile(str, "LoadInventory", .bExtra = true, .extra = playerid);