c_trace(...); if (hit.entity) { STRING *boneName = _str(""); ent_bonename(hit.entity, boneName, hit.vertex); if (str_cmp(boneName, "head")) { // headshot! } }
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de