ty
2014-05-15 11:10 GMT+03:00 Tony omega Sergi omegal...@gmail.com:
curstate.health
not pev-health
ie:
for (int i = 1; i MAX_PLAYERS; i++)
{
cl_entity_t *pl = gEngfuncs.GetEntityByIndex(i);
if ( pl pl-player )
{
ALERT( at_console, [%s]
; a MAX_PLAYERS; i++) { cl_entity_t *pl =
gEngfuncs.GetEntityByIndex(i); if ( pl pl-player ) { sprintf(temp11,%s
%i, g_PlayerInfoList[i].name, pl-curstate.health );
gViewPort-m_pHpmeniu-m_pPlayer1_hp-setText(temp11); } } //code test
2014-05-15 19:33 GMT+03:00 Matas Lesinskas peon...@gmail.com:
ty
any ideas how to make weapon to push zombie away.
I think somethink like this, but how to target zombie, not (m_pPlayer)
m_pPlayer-pev-velocity = m_pPlayer-pev-velocity + gpGlobals-v_forward
* 100;
___
To unsubscribe, edit your list preferences, or
it looks like you need to do a trace
from your weapon in the direction that you're facing and then you can use
the edict_t* in the trace result.
Check out what CCrowbar::Swing does.
On 30 August 2014 23:26, Matas Lesinskas peon...@gmail.com wrote:
any ideas how to make weapon to push zombie
now it work :D ty
2014-08-31 2:48 GMT+03:00 Matas Lesinskas peon...@gmail.com:
TraceResult tr;
UTIL_MakeAimVectors( pev-angles );
Vector vecStart = pev-origin;
vecStart.z += pev-size.z * 0.5;
Vector vecEnd = vecStart + (gpGlobals-v_forward * 100 );
UTIL_TraceHull( vecStart, vecEnd
I need to program stereo .wav in goldsrc any ideas? I want to change old
mono to sterio, but I dont know how. I heard about fmod, any Ideas how
implement it.
___
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
- look for the
variables topcolor and bottomcolor if you can't find it).
On 21 April 2015 at 18:18, Matas Lesinskas peon...@gmail.com wrote:
were can I find topcolor bottomcolor skin coloring code in
hlsdk(goldsrc hl code), I want to make hl monsters with random skin
colors like in left 4 dead 2
Hi, I want to make ragdoll physics in goldsrc somehow :), were can I
find bones and hitboxes coordinates?
___
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
do anyone know cs 1.6 FireBullets3 client side code?
what should i write inside
Vector CBaseEntity::FireBullets3 (Vector vecSrc, Vector vecDirShooting,
float flSpread, float flDistance, int iPenetration, int iBulletType, int
iDamage, float flRangeModifier, entvars_t *pevAttacker, bool bPistol, int
game to read, when other level loaded
___
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders
hi I have a question about players inventory in goldsrc. How can I get
every player inventory, weapons, ammo, and player name(I think I know how
to get player name), I will write all data to text file and I will use it
later.
___
To unsubscribe, edit
11 matches
Mail list logo