Spawn on connect
Hello all, i would like to make a simple plugin.
Respawn player on connect, when player connected and selected team, he should be respawned. How to make it? I have simple script, but it doesn't work all time, sometimes it's works sometimes no. And idk why... Code:
/* Plugin generated by AMXX-Studio */ |
Re: Spawn on connect
someone cared this question or researched this before? Let's discuess an efficient hacking method. I think there's something related to the time. cause sometime game will respawn a connected player, sometime not(when the round has started for a while). I once tried to find some info about this, but end with fail.
the procedure from a player connected to physicically spawn is a mess. I can't even find a good place to hook. Anyone interested ? Let's talk about it here |
Re: Spawn on connect
Maybe someone can copy code from CSDM mod?
Because there on connect you are always respawn. |
Re: Spawn on connect
try this:
PHP Code:
|
Re: Spawn on connect
It works, thanks man, but i have one more problem.
I edited hide_menu Code:
public hide_menu(tid){and Code:
public Respawn(id)Why after connect i don't see "Respawned" message? client_print(id, print_chat, "Respawned!"); |
| All times are GMT -4. The time now is 01:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.