[METAMOD] Check if is player is bot
hi all, i am writing a metamod plugin and creating some native/raw functions that uses edict_t *pEdict.
How i can get if the player is bot?? PHP Code:
|
Re: [METAMOD] Check if is player is bot
You are currently posting in the AMX Mod X plugin Scripting Help which is extremely different than metamod plugins. While this topic isn't technically supported here, you'll probably have better luck with posting in the Modules section since that at least has the same programming language.
|
Re: [METAMOD] Check if is player is bot
Check how AMXX is doing this.
Code:
{ |
Re: [METAMOD] Check if is player is bot
Bots might also have FL_FAKECLIENT flag.
|
Re: [METAMOD] Check if is player is bot
Quote:
@Ghosted I do not think this is a good idea with strings and calling directly g_engfuncs, since bots do not always have a "BOT" in their authid, that can return a false positive in some cases. Can work correctly for plugins @fysiks technically speaking modules are not same as an metamod plugin. but i understand your point, since this is not a hard master question anyway |
Re: [METAMOD] Check if is player is bot
I just posted half of the code, theres also FL_FAKECLIENT code thats why i said
'Check how AMXX is doing this.' |
| All times are GMT -4. The time now is 18:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.