Invite problem
#5

pawn Код:
//----------------------------------[INVITE]------------------------------------------------
    if(strcmp(cmd, "/invite", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            tmp = strtok(cmdtext, idx);
            if(!strlen(tmp))
            {
                SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /invite [playerid/PartOfName]");
                return 1;
            }
            new para1;
            new ftext[20];
            para1 = ReturnUser(tmp);
            if (PlayerInfo[playerid][pLeader] >= 1)
            {
                if(IsPlayerConnected(para1))
                {
                    if(para1 != INVALID_PLAYER_ID)
                    {
                            if (gTeam[para1]==TEAM_GREEN && PlayerInfo[para1][pMember] == 0 && PlayerInfo[para1][pFMember] == 255)
                            {
                                if(PlayerInfo[playerid][pLeader] == 1) { PlayerInfo[para1][pTeam] = 2; gTeam[para1] = 2; ftext = "Police Force"; ChosenSkin[para1]= 71; }
This is invite for PD.. after DONE i will have skin 71..
Reply


Messages In This Thread
Invite problem - by GaB1TzZzu - 18.01.2011, 10:31
Re: Invite problem - by Toreno - 18.01.2011, 10:48
Re: Invite problem - by GaB1TzZzu - 18.01.2011, 10:54
Re: Invite problem - by Toreno - 18.01.2011, 11:13
Re: Invite problem - by GaB1TzZzu - 18.01.2011, 11:17
Re: Invite problem - by Toreno - 18.01.2011, 11:42
Re: Invite problem - by GaB1TzZzu - 18.01.2011, 12:26
Re: Invite problem - by GaB1TzZzu - 19.01.2011, 12:44
Re: Invite problem - by GaB1TzZzu - 27.01.2011, 22:06
Re: Invite problem - by GaB1TzZzu - 28.01.2011, 06:24

Forum Jump:


Users browsing this thread: 1 Guest(s)