[Help]Accounts Name .ini reading
#1

I want to make the accounts reading as in the example:

I have the name RainbowSix, the account will be RainbowSix.ini
But how can I make if my name is RainbowSix and the account is rainbowsix.ini without the upcase letters?
If the account in the scriptfiles folder is rainbowsix.ini and my name is RainbowSix, when I connect the server does not read my account cause its not with upcase letters.

The code from the login:
pawn Code:
new tmp2[256];
    new string2[64];
    new playername2[MAX_PLAYER_NAME];
    GetPlayerName(playerid, playername2, sizeof(playername2));
    format(string2, sizeof(string2), "%s.ini", playername2);
    new File: UserFile = fopen(string2, io_read);
The ideea: Make the OnPlayerLogin read my name RainbowSix with the rainbowsix.ini

My english is not that good, sorry if you dont understand
Reply


Messages In This Thread
[Help]Accounts Name .ini reading - by Rainbow_Six - 22.12.2010, 12:20
Re: [Help]Accounts Name .ini reading - by Rainbow_Six - 22.12.2010, 13:04

Forum Jump:


Users browsing this thread: 1 Guest(s)