Czyli ładuję 3 złote strzały z myślą iż rozwalę 3 na HS'y...niestety tak nie jest bo i tak mam jeden ZS.
Znalazłem:
new h_bulet=0 if(golden_bulet[id]>0) { golden_bulet[id]-- h_bulet=1 }
if(h_bulet) { set_tr2(trace, TR_iHitgroup, HIT_HEAD) // Redirect shot to head // Variable angles doesn't really have a use here. static hit, Float:head_origin[3], Float:angles[3] hit = get_tr2(trace, TR_pHit) // Whomever was shot engfunc(EngFunc_GetBonePosition, hit, 8, head_origin, angles) // Find origin of head bone (8) set_tr2(trace, TR_vecEndPos, head_origin) // Blood now comes out of the head! }
Myślę że wystarczy zrobić nową tablice z h_bulet i nie ustawiać jej na 1 a zwiększać o jeden...
new h_bulet[33]
usuwamy:
new h_bulet=0
zmieniamy:
h_bulet=1na:
h_bulet[id]++
to:
if(h_bulet)na to:
if(h_bulet[id]>0)
I już nie powinno być efektu "Trzy ale i tak jeden".
Może ktoś to potwierdzić?