distance assist systeam
#6

Quote:
Originally Posted by Shinja
Посмотреть сообщение
Can you show the full code
pawn Код:
if(PRESSED(KEY_FIRE))
    {
                                GetPlayerHealth(i,Health);// i = the ROBBER
                                SetPlayerHealth(i,Health-5);
                                SetTimerEx("CantAtack",1000,0,"i",playerid);
                                PInfo[playerid][CanAtack] = 0;
                if(Health <= 6.0)
                {
                    JailPlayer(i);// i = robber
                    GivePlayerEXP(playerid);//playerid = THE KILLER/MAIN COP
                    CheckCopLevel(playerid);
                    for(new j = 0; i < MAX_PLAYERS; i++)//j = THE NEAR COPS
                    if(Team[j] == COP && IsPlayerInRangeOfPoint(j, 5.0, x, y, z))//THE ANOTHER NEAR COPS
                    {

                            PInfo[j][XPtoNearCop] = 1;
                            PInfo[j][Assists]++;
                            GiveNearCopPlayerXP(j);
                            SendClientMessage(j, red,"+12exp assist For TEAMWORK");
                    }
                }
Reply


Messages In This Thread
distance assist systeam - by bboytimix - 08.09.2016, 12:24
Re: distance assist systeam - by venomlivno8 - 08.09.2016, 12:48
Re: distance assist systeam - by Shinja - 08.09.2016, 13:45
Re: distance assist systeam - by bboytimix - 09.09.2016, 13:57
Re: distance assist systeam - by Shinja - 09.09.2016, 13:57
Re: distance assist systeam - by bboytimix - 09.09.2016, 14:07
Re: distance assist systeam - by bboytimix - 09.09.2016, 14:10
Re: distance assist systeam - by Shinja - 09.09.2016, 18:43
Re: distance assist systeam - by SickAttack - 09.09.2016, 18:48
Re: distance assist systeam - by Shinja - 09.09.2016, 18:53

Forum Jump:


Users browsing this thread: 1 Guest(s)