check if player dies
how do you check if the player dies?
example if he dies a sound will play. |
Search
|
Re: check if player dies
i got this
Code:
public DeathMsg() |
Re: check if player dies
PHP Code:
|
Re: check if player dies
Quote:
Or search past that one bit of code? 1. These variable names are worse than MINE! -And that's saying something. (vid, kid, tid) how about victimID, killerID, tempID? 2. It includes things you don't need (or mentioned nothing of) g_bIsVip[vid] 3. If you're only indexing the players array once (to get the tempID) You don't need to store it in a variable. Just directly call players[i] but this is only true if you call it once. otherwise cache it as you have here. |
| All times are GMT -4. The time now is 08:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.