Unknown command: jointeam [HLDM]
Hey everybody,
I am trying to strip the players of all weapons whenever they pick up one. I use the following code. However, it does not seem to work with grenades, bugs and satchels. It's really weird, try for yourself: PHP Code:
Thanks! |
Re: strip_user_weapons works selectively [HLDM]
Why don't you block the pickup?
Code:
|
Re: strip_user_weapons works selectively [HLDM]
Thanks a lot! I've got another question.
I want my plugin to be able to switch players to spect mode and back. The first part is easy, I just execute the client command "spectate", but how do I bring the player back into the game? I can't use the jointeam command for some reason because this is what I get in console: Code:
Unknown command: jointeam |
Re: strip_user_weapons works selectively [HLDM]
Did you try engclient_cmd()?
Code:
|
Re: strip_user_weapons works selectively [HLDM]
Quote:
Yes, the client console gives this error: Unknown command: jointeam |
Re: strip_user_weapons works selectively [HLDM]
He asked if you tried engclient_cmd(), not client_cmd().
engclient_cmd() shouldn't print anything to the console. |
Re: strip_user_weapons works selectively [HLDM]
Quote:
Strangely enough, mine does :| Here's the code. Type me_spectate or me_play: PHP Code:
|
Re: Unknown command: jointeam [HLDM]
Ok, let's rephrase the question. In HLDM, to spectate you have to type "spectate" in console. My question is: what do you type to go back into the game??
Some people already told me that I just have to press Enter and choose a team, but then I'm still getting the Unknown command: jointeam error. Has anyone encountered this problem before?? It's really frustrating.. |
| All times are GMT -4. The time now is 16:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.