respawn player before next round?
I'm working on my first Plugin for AMX.
Because my friends die too early in CS (newbies) I thought of a plugin that let players respawn without much wait. I tried the following Tutorial: http://forums.alliedmods.net/showthread.php?p=466787 but it didn't work because the compiler doesn't find "cs_user_respawn" Here my code: Code:
#include <amxmodx> |
Re: respawn player before next round?
Try this :
Code:
|
Re: respawn player before next round?
sorry I didnt note on the tut that you need to include cstrike did I? Will be added next update
[EDIT] Just updated it: UPDATED |
Re: respawn player before next round?
thx arkshine but i tried cs_user_spawn several times WITH cstrike ;)
when i tried yours, arkshine, my cs 1.6 hang up :( edit: @ rolnaaba: thx for updating :) |
Re: respawn player before next round?
Put a delay. Tested and it works fine.
Code:
|
Re: respawn player before next round?
now the overflow fatal error (when cs hand up) didn't come again, but i also didn't respawn in the next 10 seconds after i died.:shock:
i don't know what it is but i use the newest AMX Mod X. Maybe because in the wiki of amxmodx.org there they say, that it is experimental (cs_user_spawn) and you should better use spawn() ? btw: spawn() didn't work either. |
Re: respawn player before next round?
i just recognized that i forgot to turn on respawn_power
but now the fatal error comes again. edit: the fatal error msg: SZ_GetSpace: overflow without FSB_ALLOWOVERFLOW set on Server Reliable Datagram |
Re: respawn player before next round?
Quote:
|
Re: respawn player before next round?
once with your code above
and once with these changings: respawn_power -> sv_auto_respawn (cvar) 0.1 -> 5.0 (set_task) both times this message came :cry: |
Re: respawn player before next round?
Are you running others plugins with this 'little code' ? Strange because It works fine with me.
|
| All times are GMT -4. The time now is 06:44. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.