Player Name!!!
#1

Help i have this problem.

Same player account i have checked Users name account i saw this below:



Can anyone give me AutoCorrect word like simple
When player Connect if player come with name sapd_police change to Sapd_Police

VIP change to Vip

MAXIX to Maxix

KOOOS to Kooos

and etc.

Thank for help me
Reply
#2

Maybe he is making multiple accounts? or update scriptfiles
Reply
#3

lock at the S and the s
Reply
#4

You have to disable the MaJ vйrification in the account verification ^^
Reply
#5

I want auto correct word player name fs please
Reply
#6

pawn Код:
AutoCorrect(name[])
{
    new i = 1;

    name[0] = toupper(name[0]);

    while(name[i])
    {
        name[i] = tolower(name[i]);
        i++;
    }

    if((i = strfind(name,"_",true,2)) != -1 && name[i+1] != 0)
        name[i+1] = toupper(name[i+1]);

    return name;
}
usage
pawn Код:
new Nick[25];
GetPlayerName(playerid,Nick,25);
AutoCorrect(Nick);
Reply
#7

okay i will test
Reply
#8

Quote:
Originally Posted by Jefff
Посмотреть сообщение
pawn Код:
AutoCorrect(name[])
{
    new i = 1;

    name[0] = toupper(name[0]);

    while(name[i])
    {
        name[i] = tolower(name[i]);
        i++;
    }

    if((i = strfind(name,"_",true,2)) != -1 && name[i+1] != 0)
        name[i+1] = toupper(name[i+1]);

    return name;
}
usage
pawn Код:
new Nick[25];
GetPlayerName(playerid,Nick,25);
AutoCorrect(Nick);
Dude it didn't work!!!
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)