Jump to content
  • 0

FS care da ban automat


deletum

Question

2 answers to this question

Recommended Posts

E ceva de genul asta:

  • Pe la inceputul scriptului

new Name[MAX_PLAYER_NAME];
  • Adauga asta la public OnPlayerConnect(playerid)

{
    //restu de linii
    GetPlayerName(playerid, Name, sizeof(Name));

    if(strfind(Name, "[RSS]", true) != -1)
    {
        //player has it in their name...
        SendClientMessage(playerid, 0xFFFFFFFF, "OMG HAIII THATS A FORBIDDEN TAG!");
        new string[150];
        format(string,sizeof(string),"%s Got Auto Banned . Reason : [FORRBIDEN CLAN TAG] ",Name);
        BanEx(playerid,string);
        return 1;
    }
    //restu de linii
    return 1;
}

logo.png

ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.