Jump to content

Cum faci sa apara mesaj cand da cineva clear!tutorial gf


angel

Recommended Posts

1.Mergeti la comanda /clear

sub

ClearCrime(giveplayerid);

Adaugati:

for(new i=0; i<= MAX_PLAYERS; i++)

{

    if(IsPlayerConnected(i))

{

    if(PlayerInfo[pMember] == 1 || PlayerInfo[pLeader] == 1 || PlayerInfo[pMember] == 2 || PlayerInfo[pLeader] == 2 ||PlayerInfo[pMember] == 3 || PlayerInfo[pLeader] == 3)

    {

        if( (i == playerid) || (i == giveplayerid))

        {}

else

{

        format(string, sizeof(string), "* Officer %s has cleared %s 's Records and Wanted Points.", sendername, giveplayer);

SendTeamMessage(2, COLOR_DBLUE, string);

}

    }

}

}

if(gTeam[giveplayerid]==4)

{

    gTeam[giveplayerid] = 3;

    SetPlayerToTeamColor(giveplayerid);

    }

}

}

Daca ti-am fost de ajutor +1 Respect!Multumesc

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.