20.11.2014, 19:35
Код:
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.