CZ Bots Class name
I know they dont have the "player" class name is there a specific classname for them?
After some testing This is what i got back from the code below. Code:
Bot Class Name playerPHP Code:
|
Re: CZ Bots Class name
3 Attachment(s)
Works fine with orpheu but not with ham.
If you are interested, i'm using a multiforward to register bots so you don't have to exec multiple tasks through all plugins that need them. Plugin then looks like this : PHP Code:
|
Re: CZ Bots Class name
1 Attachment(s)
btw just so ppl dont try this and it doesnt work...
get_pcvar_num(g_pCvarBotQuota).... doesnt exist |
Re: CZ Bots Class name
Ops, fixed.
|
Re: CZ Bots Class name
Quote:
|
Re: CZ Bots Class name
I don't remember if i had to put (or not) :
forward cz_bot_ham_registerable(index); at top of .sma, that would be equivalent to include something. I don't think it is needed for forwards though. |
Re: CZ Bots Class name
Hi, sorry revive this old thread, Connor i've bug on your API posted on no 2, Server crash when got another plugin using the same register_message
PHP Code:
PHP Code:
|
Re: CZ Bots Class name
No, you can even replace register_message with register_event.
PHP Code:
|
Re: CZ Bots Class name
Quote:
|
Re: CZ Bots Class name
Quote:
http://forums.alliedmods.net/showpos...7&postcount=41 |
| All times are GMT -4. The time now is 00:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.