Shoot Spawnpoint
#4

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.

*/
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: 1 Guest(s)