Raised This Month: $51 Target: $400
 12% 

[CS:S] Grenade Smoke Color 1.3.4


Post New Thread Reply   
 
Thread Tools Display Modes
No FuN
Member
Join Date: Mar 2004
Location: Bordeaux
Old 04-27-2013 , 10:13   Re: [CS:S] Grenade Smoke Color
Reply With Quote #31

Hello,
It would be possible for a coder corrects the problem of time and the vanishing of the random weapons?
He changes the color of the smoke grenades only plugin, so it would be really nice if there was a kind soul.
Thx
__________________
No FuN is offline
HSFighter
Veteran Member
Join Date: Aug 2007
Location: Flensburg - Germany
Old 05-02-2013 , 03:12   Re: [CS:S] Grenade Smoke Color
Reply With Quote #32

Hello,

set on my todolist.

I have completely the api from smacbans.com first before.

But after that i check this out.
__________________



Sorry for my very bad english
Greetings HSFighter

Last edited by HSFighter; 05-02-2013 at 03:43.
HSFighter is offline
Send a message via ICQ to HSFighter
CenT
Senior Member
Join Date: Aug 2009
Location: FRANCE
Old 05-22-2013 , 15:19   Re: [CS:S] Grenade Smoke Color
Reply With Quote #33

are there any news about fixing this plugin ?
CenT is offline
birne22
Member
Join Date: Sep 2011
Old 06-30-2013 , 13:23   Re: [CS:S] Grenade Smoke Color
Reply With Quote #34

hi
does not work for cs go plugin update in work ?
birne22 is offline
HSFighter
Veteran Member
Join Date: Aug 2007
Location: Flensburg - Germany
Old 07-03-2013 , 03:53   Re: [CS:S] Grenade Smoke Color
Reply With Quote #35

v1.3 is finished.

I fixed some Bugs, add support for updater-plugin and add some more improvements from RedSword.

-------------------------------------------------------------

Quote:
Originally Posted by birne22 View Post
hi
does not work for cs go plugin update in work ?
env_particlesmokegrenade doesn't exist in CSGO.
The smoke is a particle effect created client side.


If someone has an idea how i can add CSGO Support, let me know.

-------------------------------------------------------------

Please test the plugin and let me know if there a still Bugs.

Thank you and have fun with this plugin.
__________________



Sorry for my very bad english
Greetings HSFighter

Last edited by HSFighter; 07-03-2013 at 08:44.
HSFighter is offline
Send a message via ICQ to HSFighter
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 07-04-2013 , 01:52   Re: [CS:S] Grenade Smoke Color 1.3
Reply With Quote #36

Code:
public Action:Delete(Handle:timer, any:ref)
{
	new entity= EntRefToEntIndex(ref);
	
	if (entity == INVALID_ENT_REFERENCE)
	{
		if (IsValidEdict(entity)) AcceptEntityInput(entity, "kill");
	}
	[...]
}
D: ?
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
HSFighter
Veteran Member
Join Date: Aug 2007
Location: Flensburg - Germany
Old 07-04-2013 , 04:22   Re: [CS:S] Grenade Smoke Color 1.3
Reply With Quote #37

Quote:
Originally Posted by RedSword View Post
Code:
public Action:Delete(Handle:timer, any:ref)
{
    new entity= EntRefToEntIndex(ref);
    
    if (entity == INVALID_ENT_REFERENCE)
    {
        if (IsValidEdict(entity)) AcceptEntityInput(entity, "kill");
    }
    [...]
}
D: ?

Quote:
Originally Posted by RedSword View Post

If near round end, a player throw and detonate a smoke, than a round restart and another player get to have the same index for his smoke grenade, his smoke will be killed earlier.

To prevent that, use EntIndexToEntRef when calling the timer and retrieve the entity index with EntRefToEntIndex and make sure it is != -1.

Code:
 new iRef = EntIndexToEntRef(iEntity);
CreateTimer(20.0, Delete, iRef, TIMER_FLAG_NO_MAPCHANGE);
Im sorry!
My english is very bad.
I misunderstood you?



-
__________________



Sorry for my very bad english
Greetings HSFighter

Last edited by HSFighter; 07-04-2013 at 04:23.
HSFighter is offline
Send a message via ICQ to HSFighter
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 07-04-2013 , 04:31   Re: [CS:S] Grenade Smoke Color 1.3
Reply With Quote #38

if (entity != INVALID_ENT_REFERENCE)
__________________
thetwistedpanda is offline
HSFighter
Veteran Member
Join Date: Aug 2007
Location: Flensburg - Germany
Old 07-04-2013 , 05:07   Re: [CS:S] Grenade Smoke Color 1.3
Reply With Quote #39

OMG i'm

Thanks for the note

*Fixed
__________________



Sorry for my very bad english
Greetings HSFighter

Last edited by HSFighter; 07-04-2013 at 05:07.
HSFighter is offline
Send a message via ICQ to HSFighter
Lacrimosa99
Member
Join Date: Oct 2010
Old 07-04-2013 , 08:24   Re: [CS:S] Grenade Smoke Color 1.3.1
Reply With Quote #40

Bug on the AutoUpdater ;)

Log:

L 07/04/2013 - 06:00:42: Update available for "Grenade Smoke Color" (grenadesmokecolor.smx). Current: 1.3 - Latest: 1.300000
L 07/04/2013 - 06:00:42: [0] Code optimizations and fixed errors
L 07/04/2013 - 06:00:43: Successfully updated and installed "Grenade Smoke Color".
L 07/04/2013 - 14:12:23: Update available for "Grenade Smoke Color" (grenadesmokecolor.smx). Current: 1.3 - Latest: 1.300000
L 07/04/2013 - 14:12:23: [0] Code optimizations and fixed errors
L 07/04/2013 - 14:12:24: Successfully updated and installed "Grenade Smoke Color".

Can you fixed pls?
Lacrimosa99 is offline
Reply



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 21:05.


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