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

[Any] Spawn Particles


Post New Thread Reply   
 
Thread Tools Display Modes
Pelipoika
Veteran Member
Join Date: May 2012
Location: Inside
Old 08-11-2015 , 11:25   Re: [Any] Spawn Particles
Reply With Quote #11

Quote:
Originally Posted by TheUnderTaker View Post
Why? I yes need a timer cause i want the particle will show for 5 seconds.
And this code longer than KillTimer...
Well just edit the time to be 5 seconds? easy.
I think this way is more foolproof.
__________________
Pelipoika is offline
TheUnderTaker
Senior Member
Join Date: Dec 2013
Location: Israel
Old 08-11-2015 , 12:07   Re: [Any] Spawn Particles
Reply With Quote #12

Quote:
Originally Posted by Pelipoika View Post
Well just edit the time to be 5 seconds? easy.
I think this way is more foolproof.
Sorry, I prefer to stay with my way.

Anyways, Thanks for the advice
__________________
SourcePawn, C# and C++ Programmer.

My plugin list
TheUnderTaker is offline
m_bNightstalker
Senior Member
Join Date: Jan 2015
Location: JWD
Old 08-12-2015 , 06:25   Re: [Any] Spawn Particles
Reply With Quote #13

Quote:
Originally Posted by TheUnderTaker View Post
Why? I yes need a timer cause i want the particle will show for 5 seconds.
And this code longer than KillTimer...
He is right it's better to give the kill job to the engine insteead of creating a timer.
m_bNightstalker is offline
TheUnderTaker
Senior Member
Join Date: Dec 2013
Location: Israel
Old 08-12-2015 , 07:25   Re: [Any] Spawn Particles
Reply With Quote #14

Quote:
Originally Posted by m_bNightstalker View Post
He is right it's better to give the kill job to the engine insteead of creating a timer.
I will use it on another plugins, If I will see it's better I will add it , I currently have no idea what is this code instead timer...
__________________
SourcePawn, C# and C++ Programmer.

My plugin list
TheUnderTaker is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 08-18-2015 , 10:56   Re: [Any] Spawn Particles
Reply With Quote #15

List of CS:GO Particles
List of CS:S Particles
List of L4D2 Particles
List of Portal 2 Particles
List of TF2 Particles
__________________
sneaK is offline
TheUnderTaker
Senior Member
Join Date: Dec 2013
Location: Israel
Old 08-18-2015 , 11:08   Re: [Any] Spawn Particles
Reply With Quote #16

Thank you for sharing, adding .
__________________
SourcePawn, C# and C++ Programmer.

My plugin list
TheUnderTaker is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 08-18-2015 , 23:09   Re: [Any] Spawn Particles
Reply With Quote #17

Quote:
Originally Posted by m_bNightstalker View Post
He is right it's better to give the kill job to the engine insteead of creating a timer.
+1

(jesus christ I've never seen anyone use a timer for this type of thing, except for me when I first got into making plugins, and I was a complete idiot back then)

(always give the kill job to the engine!)

Also:

Quote:
Originally Posted by TheUnderTaker View Post
I will use it on another plugins, If I will see it's better I will add it , I currently have no idea what is this code instead timer...
This is a bad attitude to have. If someone more skilled than you (especially Pelipoika who is a wizard) tells you you're doing something wrong, listen to that person and take their advice on how to fix it.

Otherwise people will see this and go "well if this plugin doesn't do this correctly, and he's unwilling to fix it, why should I use it?".

Last edited by 404UserNotFound; 12-21-2016 at 02:33.
404UserNotFound is offline
xF . Tick Tock Man
Member
Join Date: Feb 2015
Old 12-19-2016 , 12:02   Re: [Any] Spawn Particles
Reply With Quote #18

Is there any way to disable the timer on this?

This would be a awesome plugin if the particles didn't disappear so quickly...
xF . Tick Tock Man is offline
KennYSwe
Member
Join Date: Nov 2016
Old 02-01-2017 , 14:55   Re: [Any] Spawn Particles
Reply With Quote #19

Is it possible to make it a REPEAT_TIMER? so when you type "sm_sp blood_pool" it will spawn a blood pool every 5sec?
i have tried to edit the code, but cant get it to work:/
KennYSwe is offline
Shadowysn
Senior Member
Join Date: Sep 2015
Location: Location:
Old 12-02-2019 , 04:08   Re: [Any] Spawn Particles
Reply With Quote #20

Quote:
Originally Posted by 404UNF View Post
+1
This is a bad attitude to have. If someone more skilled than you (especially Pelipoika who is a wizard) tells you you're doing something wrong, listen to that person and take their advice on how to fix it.

Otherwise people will see this and go "well if this plugin doesn't do this correctly, and he's unwilling to fix it, why should I use it?".
I don't think you should listen to everyone's advice, especially if they seem bad or suspicious.
But yeah, if you want to be a good creator you should, at the least, try out other people's advice once to see if it works for you.

That piece of code Pelipoika gave you takes advantage of the User Inputs and Outputs system that Source has built-in.
Here's an article on the UIO system: https://developer.valvesoftware.com/...ts_and_Outputs

Basically, using the UIO system which Source supports is more stable than using a timer that's created using Sourcemod.
__________________
ragdoll spam, that is all

Steam profile, where I game, obviously.
Youtube channel, where I do Stick Death Maze animations and some other stuff.
no plugin requests, sorry


My Plugins:
-search list-
Modified Plugins:
1 | 2 | 3 | 4

Last edited by Shadowysn; 12-02-2019 at 04:11.
Shadowysn 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 01:36.


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