respawn plugin help
can someone find the flaws here
its not working as it should' PHP Code:
|
Re: respawn plugin help
Function StartCountdown doesn't have an index.
You should get it by making a new variable inside the function and setting it's value to read_data(2), which is the index of the victim (i.e. killed player). |
Re: respawn plugin help
Put Countdown[id] -= 1 at the enf of fin() function.
Also, you can replace respawn(id) with ExecuteHam(Ham_CS_RoundRespawn, id), will perfectly work with bots and humans. Lasy, you can remove task_exists checks, remove_task is already performing that check. |
Re: respawn plugin help
i have done the changes and now the server crashes when it is supposed to respwan
i need the counter and at the end to respawn also i dont want bots or spectators to be revived can you change it and put the full code here. tahkns |
Re: respawn plugin help
Try :
PHP Code:
|
Re: respawn plugin help
Quote:
but the hud message is blurry :( edti nvm, got it working great now |
| All times are GMT -4. The time now is 00:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.