Categories
BLOG

1.3 weed

AC/DC (Greenhouse) (1.3% THC, 17.2% CBD)

Navigate

  • HOME
  • ABOUT US
  • PRODUCTS
  • HOW TO GET A CARD
  • PATIENT FAQ
  • BLOG
  • CONTACT US

HOURS OF OPERATION

Monday 9:30 am to 9:30 pm
Tueday 9:30 am to 9:30 pm
Wednesday 9:30 am to 9:30 pm
Thursday 9:30 am to 9:30 pm
Friday 9:30 am to 10:00 pm
Saturday 9:30 am to 10:00 pm
Sunday 9:30 am to 9:30 pm

CONTACT US

LIKE US ON FACEBOOK

Medical Marijuana also known as Medical Cannabis is already sold legally in 23 states in the US. The sale and cultivation for private use is regulated by the government and the processed marijuana is sold in licensed sellers like the Carlsbad dispensary. . See More See Less

Medical Marijuana also known as Medical Cannabis is already sold legally in 23 states in the US. The sale and cultivation for private use.

AC/DC (Greenhouse) (1.3% THC, 17.2% CBD) Navigate HOME ABOUT US PRODUCTS HOW TO GET A CARD PATIENT FAQ BLOG CONTACT US HOURS OF OPERATION Monday

1.3 weed

Plays “Smoke weed every day” when medics ‘illegally’ inhale kritzkrieg beam! (aka kritzkrieg taunt)

CONVARS

  • weed_version – Version of the plugin
  • weed_path (imgay/SmokeWeedErryDay.mp3) – Path of sound to play

UPDATES
1.3

  • Added weed_path

1.22

  • Fixed a rare bug where the plugin wouldn’t work

1.21

  • Fixed a very rare bug when changing map

1.2

  • Added addition ideas by retsam
  • Added spam prevention

1.1

  • Fixed precache and download tables

1.0

  • Release

Attached Files

sound.zip (27.8 KB, 2929 views)
Get Plugin or Get Source (smokeweedeveryday.sp – 3822 views – 3.2 KB)
Mecha the Slag
View Public Profile
Send a private message to Mecha the Slag
Visit Mecha the Slag’s homepage!
Find More Posts by Mecha the Slag
Mecha the Slag
View Public Profile
Send a private message to Mecha the Slag
Visit Mecha the Slag’s homepage!
Find More Posts by Mecha the Slag
noodleboy347
View Public Profile
Send a private message to noodleboy347
Visit noodleboy347’s homepage!
Find More Posts by noodleboy347

I am not putting a sound file into an “imgay” directory.

Oh. I was just looking at your code.

For one thing, you cant precache files OnPluginStart, that should be done on mapstart.

Second. You need to add the file to downloads table, or no players will download it when they join the server.

I thought it would be emitted AT the client in the second parameter?
EDIT: looking at other people’s code, I think I can safely say it plays at the client and you can only hear it in a certain radius.

that’s the name of my server’s clan
International Master’s Gaming Alliance (Yes!) [IM’GA(Y!)]

For one thing, you cant precache files OnPluginStart, that should be done on mapstart.

Second. You need to add the file to downloads table, or no players will download it when they join the server.

oops, I’ll fix it XD

Mecha the Slag
View Public Profile
Send a private message to Mecha the Slag
Visit Mecha the Slag’s homepage!
Find More Posts by Mecha the Slag

I’m still trying to stop laughing.
I’m Mr. Nine and I approve this message.

Well done my friend.

MisterNine
View Public Profile
Send a private message to MisterNine
Find More Posts by MisterNine

Ya. I recoded a handful of things myself.

this: new String:input[512]; should be PLATFORM_MAX_PATH as far as I know.

I also added TIMER_FLAG_NO_MAPCHANGE to the timer(not that big of a deal but itll make sure the timer callback isnt run if its in the middle of changing maps).

Also, I moved some stuff around. Your taunt_timer, youre getting the clientweapon before checking if the clients are valid or alive. I thought that might cause errors.

Anyways, the plugin is exploitable. Youll need to use some method to make sure they cant spam it. Small little flaw I noticed, if you jump off a ledge hitting the taunt key, itll exec many timers and spam(since the player isnt actually taunting while falling/jumping, so it bypasses the check). Should be a fairly easy fix though. I used a bool and check to fix this myself.

[TF2] Smoke Weed Every Day (1.3) Plugins