Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

point_clientcommand usable commands

A Tutorial for Counter-Strike: Source

Members see zero ads. Membership is 100% free

Just a list of commands the server can execute on clients

If you ever tried to use a point_clientcommand on CS:S, you noticed it wouldnt work.
The game dont allow you to modify the clients's setting. Because it could easily get abused by Evil Mappers ;) So, I wont call this a tutorial, but more like a resource of commands you can use with point_clientcommand.
Some of these allow you to use overlay, music (and soundscape), only on one client.
So it could be useful for maps with screamer ;)

Commands

You can get the list below by typing this command in the console: - findflags server_can_execute "cl_soundscape_flush" client cheat server_can_execute
Flushes the client side soundscapes "playgamesound" client server_can_execute clientcmd_can_execute
Play a sound from the game sounds txt file "r_screenoverlay" client cheat server_can_execute
Draw specified material as an overlay "slot1" client server_can_execute
"slot2" client server_can_execute
"slot3" client server_can_execute
"slot4" client server_can_execute
"slot5" client server_can_execute
"slot6" client server_can_execute
"slot7" client server_can_execute
"slot8" client server_can_execute
"slot9" client server_can_execute
"slot0" client server_can_execute
"slot10" client server_can_execute
"cancelselect" client server_can_execute
"invnext" client server_can_execute
"invprev" client server_can_execute
"lastinv" client server_can_execute
"drop" client server_can_execute
"+use" and "-use" client server_can_execute
"cl_spec_mode" = "4" ( def. "1" ) client archive server_can_execute
spectator mode "play" server_can_execute
Play a sound. "sndplaydelay" server_can_execute
Usage: sndplaydelay delay_in_sec (negative to skip ahead) soundname "dsp_player" = "0" server_can_execute
"name" = "Moltard" ( def. "unnamed" ) ----> it will be your steam name, when you type the command i gave
archive server_can_execute
Current user name "r_cleardecals" server_can_execute clientcmd_can_execute
Usage r_cleardecals . "echo" server_can_execute
Echo text to console. "soundfade" server_can_execute
Fade client volume.

How to use the point_clientcommand ?

So, just create a trigger_multiple.
Then put a point_clientcommand in your map, name it whatever you want (but client is often used).
Go to the trigger output. And make an output like this one:
On StartTouch client,Command,command,delay,once or not I can give you an exemple: On StartTouch client,Command,drop,0,-1 So when the player touch the trigger, he will drop his current weapon.
But, note that he cant drop a knife or a grenade. It is also usable with a logic\_relay, or any other logic\_entity (and any trigger_ if it wasn't obvious) but, logic_ entities may not work with every commands. Thanks for reading, I hope it will be useful for you :) ps: sorry for the On StartTouch (it's because Gamebanana find an Illegal HTML syntax in it ...)

Comments

Sign up to access this!
  • Syntox avatar
    Syntox username pic Joined 9y ago
    Offline
    8,601 points Ranked 686th
    14 medals 2 rare
    • Returned 1000 times Medal icon
    • 6 years a member Medal icon
    • Reached 1,000 Points Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • 1 year a member Medal icon
    access_time 4y
    Is it possible to disable point_viewcontrol via Clientcommand?(and working for multiplayer). because point_viewcontrol View stuck if i kill myself. I tried allot :D
    SourceSDK
    URL to post:
  • Luffaren avatar
    Luffaren username pic Joined 10y ago
    Offline
    24,713 points Ranked 206th
    25 medals 2 legendary 6 rare
    • 1st Place - Twisted Reality Mapping Contest Medal icon
    • 10 years a member Medal icon
    • 3rd Place - Winter Worlds Mapping Contest Medal icon
    • 6 years a member Medal icon
    • Returned 1000 times Medal icon
    • Submitted 20 Maps Medal icon
    access_time 5y
    Thanks honey doodle!
    • Спасибо x 1
    Mapper
    URL to post:

Embed

menu
Поделиться баннером
URL изображения
Вставляемый код HTML
Вставляемый BB код
Вставляемый код Markdown

Credits

Key Authors
Moltard
Moltard Joined 7y ago
Offline
2,449 points Ranked 20162nd
20 medals 1 legendary 2 rare
  • Returned 5000 times Medal icon
  • Returned 1000 times Medal icon
  • 6 years a member Medal icon
  • Scripter of the Month, March 2013 Medal icon
  • Tutorial Contest Entrant Medal icon
  • 1 post awarded Exemplary Feedback Medal icon
Writer
Special Thanks
Enviolinador
Enviolinador Joined 10y ago
Offline
5,763 points Ranked 1128th
22 medals 1 legendary 3 rare
  • 1st Place - Halloween 2015 Mapping Contest Medal icon
  • 6 years a member Medal icon
  • Returned 1000 times Medal icon
  • Submitted 20 Maps Medal icon
  • Reached 1,000 Points Medal icon
  • Reached 2,500 Points Medal icon
For the command to type in console

Submitter

Moltard Joined 7y ago
Offline
2,449 points Ranked 20162nd
20 medals 1 legendary 2 rare
  • Returned 5000 times Medal icon
  • Returned 1000 times Medal icon
  • 6 years a member Medal icon
  • Scripter of the Month, March 2013 Medal icon
  • Tutorial Contest Entrant Medal icon
  • 1 post awarded Exemplary Feedback Medal icon
Moltard
Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Details

Difficulty Level
Intermediate

Attributes

Genre
Mapping

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • favorite 4
  • remove_red_eye 5.0k
  • mode_comment 2
  • access_time 5y
  • access_time 4y

More from Submitter

menu

More Mapping Tutorials