Lower Case (tolower) Help
#1

Hi Alls.How To Use Lower Case (Tolower) On My Login and Register System ? This is my Login/register System OnPlayerConnect Pls Put on My system +Rep TnX I Need Thisss

Code:
    new file[128];        // This get's the lenght of the file
    GetPlayerName(playerid, pname, sizeof(pname)); // This get's the player name with the lenght of the player name
    format(file, sizeof(file), savefolder,pname); // This describe's where to save and how to save it
    if(!dini_Exists(file)) { // If the file exist
        SendClientMessage(playerid,COLOR_RED,"[INFO]{FFFFFF} Pls Register.");
	ShowRegisterScreen(playerid);
	dini_Create(file); // Create the file
        dini_IntSet(file, "Score", 0); // Set's "Score"
        dini_IntSet(file, "Money", 0); // Set's "Money"
        SetPlayerScore(playerid, dini_Int(file, "Score")); // This describes where to load the score
        SetPlayerCash(playerid, dini_Int(file, "Money"));
    }
    else {
	SendClientMessage(playerid,COLOR_RED,"[INFO]{FFFFFF} Pls Login");
	ShowLoginScreen(playerid);
        SetPlayerScore(playerid, dini_Int(file, "Score"));
        SetPlayerCash(playerid, dini_Int(file, "Money"));
    }
Reply
#2

pawn Code:
format(file, sizeof(file), savefolder,tolower(pname));
Reply
#3

Xo I Use This But Not Load Money And Score In linux Vps.Pls Help Me i Need This
Reply
#4

Help Me I Need This I Realy Need This TnX
Reply
#5

Rename all your ini files of users on your host ( if it's linux ) move to the users dir and

rename 'y/A-Z/a-z/' *
Reply
#6

Quote:
Originally Posted by XO
View Post
Rename all your ini files of users on your host ( if it's linix ) move to the users dir and

rename 'y/A-Z/a-z/' *
THankS + Rep (You must spread some Reputation around before giving it to XO again) I Rep You AS Soon
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)