who hears the sound
guys how to make the sound heard only by the player himself
Code:
if(++g_Frags[iAttacker] == NEADED_FRAGS)when I put "0" it works, but "id" does not |
Re: who hears the sound
Show the enitre function, maybe you don't have that index.
EDIT: Use "iAttacker" instead of "id" because your attacker index is iAttacker not id |
Re: who hears the sound
Quote:
|
Re: who hears the sound
use
Code:
instead of emit_sound |
Re: who hears the sound
Quote:
|
Re: who hears the sound
Not sure what you mean, but variable iAttacker should be a valid player index ( 1 <= iAttacker <= 32)
And again post the full code or at least the function so we can process what's going on inside the function. And if you have no idea how to code post in suggestions and requests forum. |
Re: who hears the sound
Quote:
Code:
public Ham_PlayerKilled_Post(iVictim, iAttacker) |
| All times are GMT -4. The time now is 13:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.