View Single Post
Author Message
AttomeyHraju
Junior Member
Join Date: Apr 2021
Old 04-29-2021 , 11:09   [CSGO] Play a sound to player
Reply With Quote #1

Hello, looking for someone that can make a very simple plugin, that would play a sound to a specific player upon executed command.

a) Admin (b flag) can type sm_sound "Player" "position of sound in config" without any restrictions
(example sm_sound "Steve" "2")

b) VIP (a flag) can type sm_sound ONLY ONCE in 24 hours, otherwise show an error message. After executing sm_sound, show menu of all available players on the server (exclude admins - b flag and other vips - a flag). After the VIP player chooses someone, show all names from the config file and then play the correct sound to a correct player.

c) No flags -> show an error message

The config file should/may look like this (not necessary, only an idea)

PHP Code:
[
   {
      
"name":"Funny sound",
      
"path":"sound/sourcemod/funny-sound.mp3"
   
},
   {
      
"name":"Annoying sound",
      
"path":"sound/sourcemod/annoying-sound.mp3"
   
}

If is someone willing to spend few minutes and make it publicly free for everyone, I would really appreciate, but if not, just text me privately and I will gladly pay you some $$$ to PayPal.
AttomeyHraju is offline