17.10.2016, 19:46
Quote:
Look at this callback: https://sampwiki.blast.hk/wiki/OnPlayerWeaponShot
There you can check which objectid the player hit... And now u have to check if the if(hitid == object[0]) and if object[0] for example is a object that he shouldnt destroyed you call SetPlayerHealth(playerid,0); and important use there DestroyObject(object[0]); Good Luck |