Raised This Month: $32 Target: $400
 8% 

plugin ideas?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sukodaime
Junior Member
Join Date: May 2021
Old 07-03-2021 , 17:37   plugin ideas?
Reply With Quote #1

i want to code plugins but i dont have any ideas can you guys give me some ideas so i can improve in sourcemod coding
sukodaime is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 07-04-2021 , 09:06   Re: plugin ideas?
Reply With Quote #2

Game which have bots. Like counter-strike, TF2

Plugin which:
- Count headshot kills from each player. Print output result in chat to all in every headshot kill and by whom.
-- Change chat color, without easy-ready-chatcolor-include files from forum.
- This headshot count get reset when player truly disconnect from server. (Or server reboot of course)

Last edited by Bacardi; 07-04-2021 at 09:08.
Bacardi is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 07-15-2021 , 07:13   Re: plugin ideas?
Reply With Quote #3

Plugin ideas:
Plugin/Gameplay Ideas and Requests

SM coding improvement course:
[TUT] SourcePawn Scripting - Tips, Basics to Advanced
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
sukodaime
Junior Member
Join Date: May 2021
Old 07-20-2021 , 18:27   Re: plugin ideas?
Reply With Quote #4

Quote:
Originally Posted by Bacardi View Post
Game which have bots. Like counter-strike, TF2

Plugin which:
- Count headshot kills from each player. Print output result in chat to all in every headshot kill and by whom.
-- Change chat color, without easy-ready-chatcolor-include files from forum.
- This headshot count get reset when player truly disconnect from server. (Or server reboot of course)
thank you, is onclientdisconnect(int client){hslist[client]=0} enough or i have to do hookevent player connect too?
sukodaime is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 07-21-2021 , 05:02   Re: plugin ideas?
Reply With Quote #5

Well, that is a twist question I gave

I tell you...
- OnClientDisconnect is called even on map change.
- Hook event player_disconnect not happen on map change.


*edit
Not sure, what difference with OnClientDisconnect vs. OnClientDisconnect_post.
* OnClientDisconnect at least is forward call from failed OnClientConnect.
__________________
Do not Private Message @me

Last edited by Bacardi; 07-21-2021 at 05:58.
Bacardi 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:11.


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