Post: Help
11-24-2015, 10:52 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Can someone help me im retarded whats this?
friend sent me it

void Scr_PlayerDamage(gentity_s self, gentity_s inflictor, gentity_s attacker, int damage, int dflags, int meansOfDeath, int iWeapon, bool altWep, const float vPoint, const float *vDir, int hitLoc, int timeOffset)
{
Scr_AddInt(timeOffset);
Scr_AddConstString(G_GetHitLocationString(hitLoc));
Scr_AddVector(vDir);
Scr_AddVector(vPoint);
char weaponBuffer[512];
char *weaponName;
if (altWep)
{
BG_GetWeaponNameAlt(iWeapon 0 &weaponBuffer[4] sizeof(weaponBuffer));
weaponName = weaponBuffer;
}
else
{
weaponName = BG_GetWeaponName(iWeapon 0 weaponBuffer sizeof(weaponBuffer));
}
Scr_AddString(weaponName);
if (meansOfDeath > MOD_NUM)
Scr_AddString("badMOD");
else
Scr_AddConstString(G_GetModName(meansOfDeath));
Scr_AddInt(dflags);
Scr_AddInt(damage);
Scr_AddEntity(attacker);
Scr_AddEntity(inflictor);
uint16_t threadId = Scr_ExecEntThread(self, (int )0x18404D0, 10);
Scr_FreeThread(threadId);
}
(adsbygoogle = window.adsbygoogle || []).push({});

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo