AutoRespawn plugin... Not working...
Well im trying to make another plugin in which you basically auto-respawn when you die...
Code:
Thanks, -Steve |
Re: AutoRespawn plugin... Not working...
Code:
Look at that code an compare to yours and you will find your errors. |
Re: AutoRespawn plugin... Not working...
Thanks for the help, but it still has no effect in the game...
Code:
-Steve |
Re: AutoRespawn plugin... Not working...
You did not check all of the code
Code:
change to Code:
|
Re: AutoRespawn plugin... Not working...
You should either do cs_user_spawn, or spawn twice (there's a bug in the HL engine)
Also, the way you made this is retarded. Every time one person dies, you check if everyone is dead and end up spawning only one person. On top of that, you don't take into account spectators or just joined players. Use read_data(2), it gives you the victim of the DeathMsg. |
Re: AutoRespawn plugin... Not working...
Hey thanks so much.
Sorry, im just quite new at this so i havent got it all down yet :). EDIT: Ugh now it crashes: Code:
ERROR: SZ_GetSpace: overflow without FSB_ALLOWOVERFLOW set on Server Reliable Datagram. -Steve |
Re: AutoRespawn plugin... Not working...
Do a set_task twice, the first one for 0.5 and the second for 0.7. You can't spawn the person right when they join.
|
Re: AutoRespawn plugin... Not working...
It only happens when im about to die though. Like for example, i jumped off of somewhere i knew would kill me and then when i kit the ground and the life was deducted then it errored.
I think its something to do with read_data... -Steve |
Re: AutoRespawn plugin... Not working...
Quote:
Like I said, just add the set_tasks. |
Re: AutoRespawn plugin... Not working...
Hey, it worked.
Thanks so much Hawk! -Steve |
| All times are GMT -4. The time now is 08:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.