Hi,
since SP has been updated multiple times now, I'd like to ask: does there is the feature of changing a player's team silently, without them dying, already exist?
Thanks in advance
Change team silently
That feature already exists since a long time.
This will move the player to the given team without killing him (currently available on CS:S and CS:GO). But it will send a chat message that the player changed the team. If you want to block that message as well, you might want to try to hook the player_team event and return EventAction.DONT_BROADCAST. If I remember correctly this will block the message. If not, please let me know. :)
Syntax: Select all
<Player object>.switch_team(<team number>)
Return to “Plugin Development Support”
Who is online
Users browsing this forum: No registered users and 171 guests