#1

Hey guys!
I need help with something c:
I want to make the [sK] tag strict, like I don't want everyone to use it! I only want my members to be able to wear it!
Can you help me?
Thanks c:
Reply
#2

pawn Код:
public OnPlayerConnect(playerid)
{
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, 24);
    if(strfind(name, "[sK]", true) != -1)
    {
        //if(PlayerInfo[playerid][ClanAccepted] == 1) Try to make a system to save your clan members instead of kicking them every time
        {
            SendClientMessage(playerid, -1, "You are part of [sK] Community.");
        }
        else
        {
            SendClientMessage(playerid, -1, "[Error] - You are not allowed to use clan name [sK]");
            //Kick(playerid); or freeze him do what ever you want.
        }
    }
     return 1;
}
Suggestion : I would like to suggest you with using a password using dialogs for your clan members only can login through , instead of losing players for your server.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)