Non RP name help
#1

I was using a FS [nonrpnamekick] but its not working for my GM, anyone can help me? there are so many People playing my RP server with nickname like: [FT]FakeTram,

- iam using GM Classified Gaming Roleplay [i change the language to my country lang]

p.s -i need a line too for kick people who using [TAG] without permission from admin. thx

2nd p.s -i need line too for hiding player dot from radar, it keep appearing even iam using FS to hide it.
Reply
#2

It is only valid if name contains A-Z, a-z characters and 1 underscore:
pawn Код:
IsValidRPName(const p_name[])
{
    new count_underscore;
    for (new i, j = strlen(p_name); i != j; i++)
    {
        switch (p_name[i])
        {
            case 'A' .. 'Z', 'a' .. 'z': continue;
            case '_': count_underscore++;
            default: return 0;
        }
    }
    return count_underscore == 1;
}
Reply
#3

Can you code pawn? Cause it seems like you're using fs's to everything.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)