Raised This Month: $52 Target: $400
 13% 

Hero problem!


Post New Thread Reply   
 
Thread Tools Display Modes
RollerBlades
Senior Member
Join Date: Feb 2011
Location: Sweden
Old 05-11-2011 , 10:23   Re: Hero problem!
Reply With Quote #41

srry i dont eat beacon! i think you guys know why
RollerBlades is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 05-11-2011 , 18:34   Re: Hero problem!
Reply With Quote #42

Thank you for the bacon.

Although I am very happy that you gave me four pieces of bacon, but sadly I am only able to get two pieces of bacon for helping people. Please give me next time I help with a problem.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 05-11-2011 , 22:17   Re: Hero problem!
Reply With Quote #43

"if" is better only when there are 2 or less conditional statements, else use switch.

Though if you guys were looking for efficiency you completely ignored Rule #1: http://www.sourcemod.net/devlog/?p=62, get_user_weapon should only be checked once.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
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 23:33.


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