Bad Camper 1.4.239
I use this plugin https://forums.alliedmods.net/showthread.php?p=156560, it works well, but I would like bots not to be taken into account.
while searching on the net I found Quote:
thank you |
Re: Bad Camper 1.4.239
that line makes no sense at all,
PHP Code:
PHP Code:
|
Re: Bad Camper 1.4.239
ok i'm not very good at code i just do research on the net there is a better way to avoid that bots are not taken into account ?
|
Re: Bad Camper 1.4.239
PHP Code:
|
Re: Bad Camper 1.4.239
Quote:
Code:
|
Re: Bad Camper 1.4.239
Quote:
If you are checking that the player is alive, there is no need to check that it is connected. Syntax native is_user_alive(index); Description Returns if the client is alive. Note This will never return true if a client is not connected. If you need to know whether a client is alive, an additional call to is_user_connected() is unnecessary. Return 1 if client is alive, 0 otherwise |
Re: Bad Camper 1.4.239
So. If they are dead as this is happening it stops. Also if they are alive and happen to disconnect it stops as well. I have seen enough errors I have experience on my side with this one. Originally I only had connected and thought why not expand the function. Why didn't you critique the previous examples that make matter worse?
|
Re: Bad Camper 1.4.239
thank you I just tested it works for me the bots are no longer slap, but I would also like it to no longer mark bot alerts is it possible?
http://lestetesbruleescz.free.fr/ima...200201163640_1 |
Re: Bad Camper 1.4.239
Quote:
|
Re: Bad Camper 1.4.239
My bad iceedr. You have taught me a lot over the years in the midst of wolves. That was an off day. The extra check should not be necessary in this case.
|
All times are GMT -4. The time now is 13:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.