Is this the right way?
PHP Code:
|
Re: Is this the right way?
you should add check if player is in a team (you dont want alive spectators running around dont you?)
also instead of client_putinserver hook jointeam command or something like that |
Re: Is this the right way?
Better?
|
Re: Is this the right way?
not rly, you still dont check the team in death event, and player will never be in a team in client_putinserver.
put the check just before respawning player and replace client_putinserver with jointeam command hook |
Re: Is this the right way?
It's better to hook the joinclass command.
|
Re: Is this the right way?
Problem solved.
It should have looked like this : PHP Code:
|
Re: Is this the right way?
and ur still not checking players team... try to connect and join spectator, or just type this in console while in game: kill;jointeam 6
|
Re: Is this the right way?
Code:
|
Re: Is this the right way?
Quote:
@claudiuhks Again, it's no need to check if a player has chosen a model, because when he connects to the server, he is automatically transfered to CT. Anyway, thanks for help guys. |
| All times are GMT -4. The time now is 06:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.