[HELP] murder
#1

Hello I have a trouble with this almost 2 day so I make when I kill my member then it send you kill your own member but the problem is when I kill my member it write me you kill a civilian if yu know what I mean. I hope that you will undeerstand what I want her . Thanks



pawn Код:
if(IsACop(playerid) && IsPlayerConnected(killerid) && PlayerInfo[playerid][Clan] != PlayerInfo[killerid][Lider] && PlayerInfo[killerid][Clan] != PlayerInfo[playerid][Lider])
        {
            PlayerInfo[playerid][pDeaths]++;
            PlayerInfo[killerid][pKills]++;
            PostaviZlocin(killerid,"Murder of cop!","Nepoznato");
            return 1;
        }
        if(IsPlayerConnected(playerid) && IsACop(killerid))
        {
            PlayerInfo[playerid][pDeaths]++;
            PlayerInfo[killerid][pKills]++;
            SCM(killerid,COLOR_LIGHTRED,"Pocinili ste zlocin( *you kill civilan! ).Reporter:Nepoznat.");
            return 1;
        }
        if(PlayerInfo[playerid][Clan] != PlayerInfo[killerid][Lider] && PlayerInfo[killerid][Clan] != PlayerInfo[playerid][Lider])
        {
            PlayerInfo[playerid][pDeaths]++;
            PlayerInfo[killerid][pKills]++;
            SCM(killerid,COLOR_LIGHTRED,"Pocinili ste zlocin( *You kill your member! ).Reporter:Nepoznat.");
        }
        PlayerInfo[playerid][pDeaths]++;
        PlayerInfo[killerid][pKills]++;
        PostaviZlocin(killerid,"Murder of first degre!","Nepoznato");
Reply
#2

Код:
        if(IsPlayerConnected(playerid) && IsACop(killerid))
        {
            PlayerInfo[playerid][pDeaths]++;
            PlayerInfo[killerid][pKills]++;
            SCM(killerid,COLOR_LIGHTRED,"Pocinili ste zlocin( *you kill cop! ).Reporter:Nepoznat.");
            return 1;
        }
u wrote You Kill civilian, guess im right.
Reply
#3

what you talking read the code omg this is when player kill civilan omg.
Reply
#4

1st i cant understand what you are saying
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)