Shoot Spawnpoint
#5

Quote:
Originally Posted by HY
Посмотреть сообщение
pawn Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
    if(IsPlayerInRangeOfPoint(playerid, RANGE, X, Y, Z))
    {
        SetPlayerHealth(playerid, 0.0);
        SendClientMessage(playerid, -1, "You got killed, because you shooted in a Spawn Point !");
    }
    return 1;
}

/*

Replace X, Y, Z with your position of Spawn Point.
Replace Range with your distance, when he cannot shoot.

*/
that not what i need .
if player just walk in the range of the spawn point and shoot anywhere that kill him .
i need if the bullet hit the X Y Z of the spawn point that will kill him
Reply


Messages In This Thread
Shoot Spawnpoint - by s0ZNIz - 15.11.2014, 11:08
Re: Shoot Spawnpoint - by StR_MaRy - 15.11.2014, 11:09
Re : Shoot Spawnpoint - by Dutheil - 15.11.2014, 13:05
Re: Shoot Spawnpoint - by HY - 15.11.2014, 13:31
Re: Shoot Spawnpoint - by s0ZNIz - 20.11.2014, 19:27
Re: Shoot Spawnpoint - by Rdx - 20.11.2014, 19:35
Re : Shoot Spawnpoint - by Dutheil - 20.11.2014, 19:42
Re: Shoot Spawnpoint - by s0ZNIz - 20.11.2014, 21:06
Re: Shoot Spawnpoint - by Rdx - 20.11.2014, 21:35
Re: Shoot Spawnpoint - by s0ZNIz - 20.11.2014, 23:34

Forum Jump:


Users browsing this thread: 3 Guest(s)