clan system HELP
#1

pawn Код:
CMD:invite(playerid, params[])
{
    new target,playern[MAX_PLAYER_NAME];
    GetPlayerName(target,playern,MAX_PLAYER_NAME);
    format(name, sizeof(name), "[3p]%s", playern);
    format(name1, sizeof(name1), "[HS]%s", playern);
    if(leader3p[playerid] == 1)
    {
    if(sscanf(params, "ud", target)) return SendClientMessage(playerid, 0xFFFF00AA, "Syntax: /invite id");
    if(!IsPlayerConnected(target)) return SendClientMessage(playerid, -1, "Invalid playerid!");
    SetPlayerName(target,name);
    }
    if(leaderhs[playerid] == 1)
    {
    if(sscanf(params, "ud", target)) return SendClientMessage(playerid, 0xFFFF00AA, "Syntax: /invite id");
    if(!IsPlayerConnected(target)) return SendClientMessage(playerid, -1, "Invalid playerid!");
    SetPlayerName(target,name1);
    }
    return 1;
}
I dont know how to make /ckick(kick from clan)/delete the player tag
please help me...
Reply
#2

The invite code works by himself?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)