No worldspawn
Is it possible with a plugin to remove the problem with players dieing at the start of the round because of not enough respawn points?
If not I would appreciate it if you could do a plugin that respawns a player if they die within 5 seconds of a round. Thanks in advance. |
Re: No worldspawn
If you have a question on something that could be solved with a function,
then the first you should do is to search in the AMXModX FuncWiki. Only if you really find nothing you may ask here. That would help you to prevent that much negative Karma and in this case it would result in this: http://www.amxmodx.org/funcwiki.php?go=func&id=837 If you now say that it will not work then that is probably because you did not say for what modification you want to write your plugin. But as you make a really mindless impression on me I guess that it shall be for Counter-Strike. However, keep this in mind: http://www.amxmodx.org/funcwiki.php So if you now want to know how to make that delay of 5 seconds, think of what could that be called in the english language. It is possible that you have to try some words and read through some stuff before you reach the function which you need, but after some tries you enter "task": http://www.amxmodx.org/funcwiki.php?...task&go=search And you read: "set_task". Now that sounds really encouraging, doesn't it? And then you click it and read an wooooooooooooooooooosh: http://www.amxmodx.org/funcwiki.php?go=func&id=253 It is what you want, isn't it? And after some more research you arrive at this point: Code:
|
Re: No worldspawn
But it's wrong. :shock: That will revive the user 5.0 seconds after dying.
Code:
|
Re: No worldspawn
Quote:
And I can't code worth shit so searching the functions on how to set a time for the respawn wouldn't work because I don't know how to apply it. |
Re: No worldspawn
Quote:
|
Re: No worldspawn
The quoted code you posted is all jarbled up on my screen. Anyways, why wouldn't it work? Be specific. I don't see the need for any booleans.
|
Re: No worldspawn
You didnt even call a client_death function...
|
Re: No worldspawn
I register the round start, wait 5 seconds, and revive any dead clients. Why would you need client_death?
|
Re: No worldspawn
Mah bad.. Didnt see the flags there.
|
Re: No worldspawn
Quote:
Then he will get no punishment o_O |
| All times are GMT -4. The time now is 22:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.