Strange Log Message
#10

pawn Код:
// Anti Fake-Killing => Alessio
    if(IsPlayerConnectedEx(playerid))
    {
        new playername[MAX_PLAYER_NAME];
        new killername[MAX_PLAYER_NAME];
        GetPlayerName(playerid, playername, sizeof(playername));
        GetPlayerName(killerid, killername, sizeof(killername));
        if(IsPlayerStreamedIn(playerid, killerid))
        { // No need for a VW check, you don't stream in to other clients if they're in different VWs to you (presumably...)
            if(GetPlayerInterior(playerid) == GetPlayerInterior(killerid))
            {
                if(GetPlayerWeapon(killerid) == reason)
                {
                    printf("%s(ID:%d) l-a omorat pe %s(ID:%d) cu %s . ", killername,killerid,playername,playerid,reason);
                }
            }
        }
        else
        {
            new str[64];
            format(str, sizeof(str), "%s(ID:%d) a primit kick pentru fake-killing.", killername, killerid);
            SendAdminBroadcast(str);
            SendClientMessage(killerid, COLOR_LIGHTRED, "Te pupa Alessio!");
            SetTimerEx("KickPublic", 1000, 0, "d", killerid);
        }
    }
Would this code solve it ?
Reply


Messages In This Thread
Strange Log Message - by rappy93 - 08.12.2013, 19:23
Re: Strange Log Message - by Grizzli - 08.12.2013, 19:26
Re: Strange Log Message - by batonsa - 08.12.2013, 19:26
Re: Strange Log Message - by Astralis - 08.12.2013, 19:27
Re: Strange Log Message - by rappy93 - 08.12.2013, 19:28
Re: Strange Log Message - by batonsa - 08.12.2013, 19:30
Re: Strange Log Message - by Astralis - 08.12.2013, 19:31
Re: Strange Log Message - by YoDawg - 08.12.2013, 19:31
Re: Strange Log Message - by rappy93 - 08.12.2013, 20:08
Re: Strange Log Message - by rappy93 - 08.12.2013, 20:32

Forum Jump:


Users browsing this thread: 1 Guest(s)