DeathMsg error
Code:
register_event("DeathMsg","EVENT_Death", "a", "1>0");Code:
public EVENT_Death()AMX MODX 1.10 latest build |
Re: DeathMsg error
Please show the full code with logs included.
|
Re: DeathMsg error
Quote:
I sent my plugin in PM. But I add here && victim_id >= 0 && victim_id < 33 in 154 line. I Use AMX MOD X 1.10 latest build. Code:
public EVENT_Death()g_PlayerData[victim_id] |
Re: DeathMsg error
You should always check if the entity is in range
PHP Code:
|
Re: DeathMsg error
But who can be dead instead of the player??
|
Re: DeathMsg error
Quote:
Who know? It happen all the time. And if it is not what we need, ignore it. usually, if you just want player, check is_user_connected to bypass that out of bound error. |
| All times are GMT -4. The time now is 14:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.