Respawn
give code pls for respawn, i need it for my hns shop
|
Re: Respawn
Code:
|
Re: Respawn
It's best now to use Ham Sandwich.
Code:
|
Re: Respawn
or(funny, i just made a respawn command today)
PHP Code:
Change it to your liking, have fun yo. NOTE: use spawn() 2 times if your respawning a player because there's a bug in CS/HL, to avoid it use it 2 times! |
Re: Respawn
Quote:
Quote:
|
Re: Respawn
Quote:
well, your an AMXX plugin approver, so you would know best :P |
Re: Respawn
tested, works fine ;)
PHP Code:
|
Re: Respawn
Just change ExecuteHam to ExecuteHamB otherwise other plugins will not be able to detect the respawn (at least using hamsandwich, what is what most people SHOULD be doing now).
|
Re: Respawn
danielkza: That's what I thought at first. But, it seems the best way to hook player spawn is actually Ham_Spawn instead of Ham_CS_RoundRespawn. The former is called every time, even when you join in the middle of the round and spawn or when you survive the round. The latter gets called most of the time, but not all of the time.
It's still best to use Ham_CS_RoundRespawn to actually respawn a player, though. And when you call that, then it calls Ham_Spawn which can be hooked. So for example, this works: Code:
|
Re: Respawn
Quote:
|
| All times are GMT -4. The time now is 05:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.