Solution for anti-fake killing.
#6

Quote:
Originally Posted by Calgon
View Post
That's err...pretty simple to make. Or better yet, you could check if the player is streamed in to the player.

pawn Code:
public OnPlayerDeath(playerid, killerid, reason) {
    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) {
                print("OH HERRO!!!1!1!1");
            }
        }
    }
    return 1;
}
So, if I exploded a player, you really think that would work lol?
Reply


Messages In This Thread
Solution for anti-fake killing. - by Lorenc_ - 07.03.2012, 06:57
Re: Solution for anti-fake killing. - by Jaxson - 07.03.2012, 07:50
Re: Solution for anti-fake killing. - by leong124 - 07.03.2012, 07:53
Re: Solution for anti-fake killing. - by Lorenc_ - 07.03.2012, 08:10
Re: Solution for anti-fake killing. - by Calgon - 07.03.2012, 10:17
Re: Solution for anti-fake killing. - by Lorenc_ - 08.03.2012, 03:27
Re: Solution for anti-fake killing. - by Whitetiger - 08.03.2012, 03:51
Re: Solution for anti-fake killing. - by Calgon - 08.03.2012, 06:21
Re: Solution for anti-fake killing. - by Kyle - 08.03.2012, 06:40
Re: Solution for anti-fake killing. - by Calgon - 08.03.2012, 06:41
Re: Solution for anti-fake killing. - by decondelite - 08.03.2012, 07:17
Re: Solution for anti-fake killing. - by Calgon - 08.03.2012, 07:19
Re: Solution for anti-fake killing. - by decondelite - 08.03.2012, 07:35
Re: Solution for anti-fake killing. - by [ABK]Antonio - 08.03.2012, 07:41
Re: Solution for anti-fake killing. - by Calgon - 08.03.2012, 10:03
Re: Solution for anti-fake killing. - by leong124 - 08.03.2012, 11:25
Re: Solution for anti-fake killing. - by CuervO - 08.03.2012, 14:49
Re: Solution for anti-fake killing. - by leong124 - 08.03.2012, 16:39
Re: Solution for anti-fake killing. - by Lorenc_ - 08.03.2012, 20:00
Re: Solution for anti-fake killing. - by Raul_Ro - 10.03.2012, 08:42
Re: Solution for anti-fake killing. - by rbN. - 10.03.2012, 09:00
Re: Solution for anti-fake killing. - by Lee_Percox - 10.03.2012, 09:30
Re: Solution for anti-fake killing. - by Lorenc_ - 10.03.2012, 11:21
Re: Solution for anti-fake killing. - by Max_Coldheart - 10.03.2012, 18:21
Re: Solution for anti-fake killing. - by Calgon - 10.03.2012, 18:31
Re: Solution for anti-fake killing. - by Max_Coldheart - 10.03.2012, 18:33
Re: Solution for anti-fake killing. - by Calgon - 10.03.2012, 18:38
Re: Solution for anti-fake killing. - by Max_Coldheart - 10.03.2012, 18:39
Re: Solution for anti-fake killing. - by Calgon - 10.03.2012, 18:47
Re: Solution for anti-fake killing. - by Max_Coldheart - 10.03.2012, 18:50
Re: Solution for anti-fake killing. - by Lorenc_ - 24.04.2012, 23:22
Re: Solution for anti-fake killing. - by Austin - 24.04.2012, 23:36
Re: Solution for anti-fake killing. - by lolumadd_ - 25.04.2012, 00:50
Re: Solution for anti-fake killing. - by Lorenc_ - 25.04.2012, 01:16
Re: Solution for anti-fake killing. - by cessil - 25.04.2012, 02:36

Forum Jump:


Users browsing this thread: 1 Guest(s)