Coprank problem
#1

Hello
i tried to forward the IncreaseCoprank variable and i couldnt make it work
i get the error that its not implented

pawn Код:
forward IncreaseCoprank(playerid, value);
pawn Код:
if(gTeam[killerid] == Team_Cop)
    {
        if(gTeam[playerid] == Team_Cop)
        {
            DecreaseScore(killerid, 1);
            return 1;
        }
        if(gTeam[playerid] == Team_Civi)
        {
            new pwl = GetPlayerWantedLevel(playerid);
            if(pwl == 0)
            {
                IncreaseScore(killerid, 1);
                return 1;
            }
            if(pwl == 1 || pwl == 2)
            {
                IncreaseScore(killerid, 1);
                return 1;
            }
            if(pwl == 3 || pwl == 4 || pwl == 5)
            {
                IncreaseScore(killerid, 1);
                IncreaseCoprank(killerid, 1);
                GivePlayerMoney(killerid, 5000);
                return 1;
            }
            if(pwl == 6)
            {
                IncreaseScore(killerid, 2);
                IncreaseCoprank(killerid, 2);
                GivePlayerMoney(killerid, 10000);
                return 1;
            }
            return 1;
        }
    }
Errors:
Код:
C:\Program Files (x86)\Microsoft Power\GTA San Andreas\TeamDeathMatch\gamemodes\CnR.pwn(627) : error 004: function "IncreaseCoprank" is not implemented
C:\Program Files (x86)\Microsoft Power\GTA San Andreas\TeamDeathMatch\gamemodes\CnR.pwn(634) : error 004: function "IncreaseCoprank" is not implemented
Reply


Messages In This Thread
Coprank problem - by efrim123 - 04.10.2013, 19:31
Re: Coprank problem - by EiresJason - 04.10.2013, 19:35
Re: Coprank problem - by efrim123 - 04.10.2013, 19:40
Re: Coprank problem - by EiresJason - 04.10.2013, 19:41

Forum Jump:


Users browsing this thread: 2 Guest(s)