Spawn client [FM]
Hello!
This simple code not works correctly: PHP Code:
And with this version i have an errors in server's console: PHP Code:
Code:
L 01/11/2013 - 10:17:04: [FAKEMETA] Invalid entityIn this ver. all works fine. Paradox.. PHP Code:
|
Re: Spawn client [FM]
Why not use HAM?
|
Re: Spawn client [FM]
Quote:
I use this code for some effects. Can you help me with topic's question? It's hard to explain it in English. In Russian, I would be happy to explain) |
Re: Spawn client [FM]
plugin_init is too early to call this.... What exactly are you trying to do? Why can you not use Ham_CS_RoundRespawn?
|
Re: Spawn client [FM]
not preffer to set task in init..
PHP Code:
|
Re: Spawn client [FM]
Quote:
how useless is this? if (true) will do the same thing lol |
Re: Spawn client [FM]
heh yeah.
if((cs_get_user_team(players[i]) == CS_TEAM_CT) || (cs_get_user_team(players[i])==CS_TEAM_T)) |
Re: Spawn client [FM]
DLLFunc_Spawn is not intended to respawn a player, only to spawn entities.
For players, use MUST use ham, use RoundRespawn. |
Re: Spawn client [FM]
Thank you all! AngeIII's version works fine!
|
Re: Spawn client [FM]
use this :
ExecuteHamB( Ham_CS_RoundRespawn, players[i] ); |
| All times are GMT -4. The time now is 13:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.