Non player is out of range?
I don't get it why I get this error.
Code:
L 08/16/2014 - 11:06:15: [CSTRIKE] Non-player entity 0 out of rangePHP Code:
|
Re: Non player is out of range?
create weapon_id and szKillMSG after the two iKiller checks
why are you using is_user_alive two times? create a new var to save the value of cs_get_weapon_ammo, before using this native check if weapon_id is valid |
Re: Non player is out of range?
Quote:
|
Re: Non player is out of range?
PHP Code:
|
Re: Non player is out of range?
Quote:
|
Re: Non player is out of range?
on the mobile..
PHP Code:
|
Re: Non player is out of range?
Quote:
Ty for helping... I get few errors still. |
Re: Non player is out of range?
post errors.
the code should work as you want |
Re: Non player is out of range?
Quote:
Warning: Function "eDeath" should return a value on line 979 3,4 times |
Re: Non player is out of range?
Quote:
To get rid of warnings like that, you need to make sure that if you return a value anywhere in your function that you also return a value in every possible situation in that function. If it is simply a death message that you are hooking, you don't need to return anything (i.e. you don't return PLUGIN_CONTINUE or PLUGIN_HANDLED) because the return value does nothing. Simply use "return". |
| All times are GMT -4. The time now is 12:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.