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

[L4D2] Team list panel with player status


Post New Thread Reply   
 
Thread Tools Display Modes
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Old 01-25-2011 , 17:24   Re: [L4D2] Team list panel with player status
Reply With Quote #41

I just got eye cancer o.O

Unapproved for now, but has a change to get approved when the author replies
__________________
Why reinvent the wheel ? Download smlib with over 350 useful functions.

When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0
berni is offline
alexip121093
Senior Member
Join Date: Dec 2009
Location: Hong Kong
Old 02-01-2011 , 19:39   Re: [L4D2] Team list panel with player status
Reply With Quote #42

hi , i am here.Please get this approved

AND

Get This unapproved http://forums.alliedmods.net/showthread.php?t=122941
Not working any more after the update
__________________

Last edited by alexip121093; 02-01-2011 at 20:38.
alexip121093 is offline
Send a message via MSN to alexip121093
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 02-01-2011 , 22:59   Re: [L4D2] Team list panel with player status
Reply With Quote #43

wtf, you have 824 lines of code for 1 function... you should probably read over the sourcemod scripting guide and think about optimization. No wonder berni got eye cancer... I'll have to visit the doctors later.
__________________
Silvers is offline
alexip121093
Senior Member
Join Date: Dec 2009
Location: Hong Kong
Old 02-02-2011 , 00:06   Re: [L4D2] Team list panel with player status
Reply With Quote #44

Quote:
Originally Posted by Silvers View Post
wtf, you have 824 lines of code for 1 function... you should probably read over the sourcemod scripting guide and think about optimization. No wonder berni got eye cancer... I'll have to visit the doctors later.
I just want to get it worked , i am not a professional scripter like you
__________________
alexip121093 is offline
Send a message via MSN to alexip121093
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 02-02-2011 , 00:39   Re: [L4D2] Team list panel with player status
Reply With Quote #45

I only started Sourcemod in July 2010, just take the time out to read the wiki and use common sense.
__________________
Silvers is offline
alexip121093
Senior Member
Join Date: Dec 2009
Location: Hong Kong
Old 02-02-2011 , 03:18   Re: [L4D2] Team list panel with player status
Reply With Quote #46

code rewrote
__________________

Last edited by alexip121093; 02-02-2011 at 03:26.
alexip121093 is offline
Send a message via MSN to alexip121093
psychonic

BAFFLED
Join Date: May 2008
Old 02-02-2011 , 09:06   Re: [L4D2] Team list panel with player status
Reply With Quote #47

Quote:
Originally Posted by alexip121093 View Post
code rewrote
Noticed this after a quick look. There may still be other issues.

If you re-hook events at every map start, your event hook callbacks will get called as many times as maps have been loaded. Either add unhooks at map end (if hooked) or only do your hooking in OnPluginStart and check the enabled cvars in the callbacks.
psychonic is offline
alexip121093
Senior Member
Join Date: Dec 2009
Location: Hong Kong
Old 02-03-2011 , 02:07   Re: [L4D2] Team list panel with player status
Reply With Quote #48

ok method 2 used, thanks for your advice
__________________
alexip121093 is offline
Send a message via MSN to alexip121093
alexip121093
Senior Member
Join Date: Dec 2009
Location: Hong Kong
Old 04-04-2011 , 23:34   Re: [L4D2] Team list panel with player status
Reply With Quote #49

updated fixed a small bug
__________________
alexip121093 is offline
Send a message via MSN to alexip121093
TANK Killer
Junior Member
Join Date: Dec 2013
Location: Ukraine
Old 12-17-2013 , 04:13   [L4D2] Team list panel with player status
Reply With Quote #50

Plugin 1.75 version rus
Attached Files
File Type: smx l4d_teamdisplay.smx (11.7 KB, 140 views)
File Type: sp Get Plugin or Get Source (l4d_teamdisplay.sp - 368 views - 23.0 KB)
TANK Killer is offline
Send a message via Skype™ to TANK Killer
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 13:52.


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