Shoot Spawnpoint
#6

Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
	if(hittype == BULLET_HIT_TYPE_NONE)
	{
	    if(fX == spawnX && fY == spawnY && fZ == spawnZ)
	    {
	        SetPlayerHealth(playerid, 0.0);
	    }
	}
    return 1;
}

//Replace spawnX, spawnY, spawnZ with your spawn positions.
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: 2 Guest(s)