hook cz bots spawn pre
so...as the tile says
how can i hook the czbots spawn pre? i need to set their human class then client_putinserver is too soon and spawn post is too late please help |
Re: hook cz bots spawn pre
Quote:
PHP Code:
|
Re: hook cz bots spawn pre
as i said
putinserver is too soon and connect is earlier than that so... |
Re: hook cz bots spawn pre
Quote:
In my zp gender plugin i use client_putinserver(index) to set random gender for BOT, and they will spawn with random gender. There is no problem with it. You need to modify your core plugin to set human classes on spawn event. I use this method for my zp gender plugin. |
Re: hook cz bots spawn pre
if i set a random human class for the bots on putinserver it doesn't solve the problem and also some other strange bugs occur like i(as human) can kill other human bots, they can kill eachother even if they are both in the same team, etc
so i'm all out of ideas and i really need to do this to support CZ |
Re: hook cz bots spawn pre
Why putinserver doesn't work ? i mean show code or explain better what you do.
|
Re: hook cz bots spawn pre
if i use putinserver strange bugs start happening like bots can kill each other while on the same team, etc
|
Re: hook cz bots spawn pre
You don't explain anything you do in the code, don't expect any help then.
|
Re: hook cz bots spawn pre
i've fixed it
logic error -.- thank you both |
Re: hook cz bots spawn pre
Quote:
|
| All times are GMT -4. The time now is 14:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.