Author
|
Message
|
Member
|
03-24-2018
, 08:26
STUPID bug doesnt show effects
|
#1
|
i got a really odd bug....i am playing a mod called esf with a little gore addon.....
means when low hp u see blood.
also i have a npc plugin and when u kill that guy he shall bleed.
************************************
public npc_TakeDamage(iEnt)
{
//Make sure we only catch our NPC by checking the classname
new className[32];
entity_get_string(iEnt, EV_SZ_classname, className, sizeof(className)-1)
if(!is_valid_ent(iEnt) || !equali(className, g_NpcClassName))
return;
new Float:tar[3];
tar[2] += 20;
entity_get_vector(iEnt, EV_VEC_origin, tar);
//This message will draw blood sprites
message_begin(MSG_BROADCAST,SVC_TEMPENTITY);
write_byte(TE_BLOODSPRITE);
engfunc(EngFunc_WriteCoord, tar[0]);
engfunc(EngFunc_WriteCoord, tar[1]);
engfunc(EngFunc_WriteCoord, tar[2]);
write_short(spr_blood_spray);
write_short(spr_blood_drop);
write_byte(247); // color index
write_byte(random_num(1, 5)); // size
message_end();
*********
that was the code of it.............NOw the odd part! it worked totally fine 2 days ago.....i didnt change anything! now i have no blood(gore) and the npc also just lays around.....
when someone joins my server he sees all that blood......but i wanna see it also again>_>
had that bug years ago......after getting new pc that bug was gone.....
i already reinstalled all.....
someone knows what causes this? it doesnt seem to have anything real to do with half life and the mod....cause i already reinstalled all and updated all...
like said it worked days before.....and everyone on my server sees that except me....
Last edited by BANDIT228; 03-24-2018 at 08:28.
|
|
|
|