You are able to kill peoples while dead
#1

Dunno if this is already reported and if there is any format to report bug so I will just type it like this:

You know guys when you sometimes die but you body is still not dead on floor. I mean you are tehnicly dead but due to lag you are still able to move even others dont see you are moving. Well now you can kill peoples while you are dead because bullets are virtual or something idk. On 0.3x we didnt had this problem.

Here are few pictures how it looks like:

http://i.imgur.com/OEDgcqz.png
http://i.imgur.com/sd6XI2d.png

This can be done better with fire because if you know how sometimes you die because of fire and your body wont lie down on flooor till fire if off. It can be abused alot.
Reply
#2

I can confirm this.
Reply
#3

However OnPlayerDeath is called, right? If so, you can prevent any damage is given by those players by returning false in the new callback. This might work, I haven't 0.3z installed yet so I cannot test it.
pawn Код:
// global:
static
    bool: IsPlayerDead[MAX_PLAYERS char];

// OnPlayerConnect:
IsPlayerDead{playerid} = false;

// OnPlayerDeath:
IsPlayerDead{playerid} = true;

// OnPlayerSpawn:
IsPlayerDead{playerid} = false;

public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
    if (hittype == BULLET_HIT_TYPE_PLAYER && IsPlayerDead{playerid}) return 0;
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)