Script do not affect IG (Help)
#4

1) Is "string" large enough to hold it all?
2) Is "plname" large enough to hold the name?
3) Is your name Lenny_Kraff?
4) Are you sure there's a Lenny_Kraff.ini in the scriptfiles/accounts folder?

If all of those are right, check out:
Код:
GetPlayerName(playerid, plname, sizeof(plname));
    format(string, sizeof(string), "accounts\\%s.ini", plname);
print(string);
//Go on with normal checks here
Check your console right after to make sure string is being formed right. If it's like this:
Код:
accounts\Lenny_Kraff.ini
in the print, then I've no clue!
Reply


Messages In This Thread
Script do not affect IG (Help) - by Partner - 17.12.2012, 16:56
Re: Script do not affect IG (Help) - by Karagon - 17.12.2012, 17:08
Re: Script do not affect IG (Help) - by Partner - 17.12.2012, 17:45
Re: Script do not affect IG (Help) - by Karagon - 17.12.2012, 18:16

Forum Jump:


Users browsing this thread: 1 Guest(s)