Raised This Month: $89 Target: $400
 22% 

[L4D] L4DNoSmoking (v1.0.5, 2019-07-23)


Post New Thread Reply   
 
Thread Tools Display Modes
finishlast
Junior Member
Join Date: Nov 2018
Old 07-23-2019 , 13:38   Re: [L4D] L4DNoSmoking (v1.0.0, 2019-07-22)
Reply With Quote #11

Quote:
Originally Posted by Aya Supay View Post
here the code
I just saw the new translation file.. now it is working with the playername.

It looks good so far, I'll put it on the server and let it run a bit.

I removed the obsolete player spawn part and put in Lux suggestion for cvars.
I also removed the victim check from the if clause, so we can check in case multiple smokers are around (via zspawn or other plugins)


PHP Code:
From:
if (
&& <= MaxClients && IsClientInGame(i) && GetClientTeam(i) == && != victim)// ignore the survivor getting smoked 

to
if (&& <= MaxClients && IsClientInGame(i) && GetClientTeam(i) == 2
Your help is really appreciated guys.

I ran it for a couple days, seems to be stable on l4d1. No idea about l4d2. Mb someone can give feedback for it.
Attached Files
File Type: sp Get Plugin or Get Source (L4DNoSmoking1.0.5.sp - 11 views - 8.6 KB)
File Type: txt l4d_nosmoking.phrases.txt (1.4 KB, 3 views)

Last edited by finishlast; 07-29-2019 at 14:51.
finishlast is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:42.


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode