Spectator Bug
Player is alive in either CT or T. He chooses to GO SPECTATOR, player gets to be joined spectator team. BUT he stays alive as in spec team (can kill CT/T, can be killed also).
the line that should kill him in plugin is : Code:
case 4: |
Re: Spectator Bug
replace client_cmd(id,"kill") with user_kill(id)
client cmd is considered as slowhacking and is being blocked by client guard. |
Re: Spectator Bug
it is not intentional, i swear. I try change now, Thanks.
THANK YOU VERY MUCH, IT WORKED :3 I appreciate for the fast response :) |
Re: Spectator Bug
Code:
engclient_cmd(id, "joinclass", "5") |
Re: Spectator Bug
No it's not
|
Re: Spectator Bug
but then it shoud automatically join class 5 right? right now i still must use what class i need to use, How to change that. It is in both sides if i am joining from SPEC team, not while connecting
|
Re: Spectator Bug
no, dont use engclient_cmd, use :
cs_set_user_team( id, CS_TEAM_SPECTATOR ) |
Re: Spectator Bug
Code:
if (cs_get_user_team(id)==CS_TEAM_CT) |
Re: Spectator Bug
just use this :
PHP Code:
|
| All times are GMT -4. The time now is 09:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.