Raised This Month: $4 Target: $400
 1% 

Everyone has a Santa Hat


Post New Thread Reply   
 
Thread Tools Display Modes
wangningyu
Member
Join Date: Dec 2011
Location: China.GuangDong
Old 12-23-2011 , 22:14   Re: Everyone has a Santa Hat
Reply With Quote #91

thanks for share !
__________________
One Code , One Dream !
wangningyu is offline
kramesa
Veteran Member
Join Date: Feb 2011
Location: Brazil
Old 12-25-2011 , 23:43   Re: Everyone has a Santa Hat
Reply With Quote #92

Funny!
__________________
kramesa is offline
Mofforg
Senior Member
Join Date: Aug 2010
Location: Moscow, Russia
Old 11-06-2012 , 14:58   Re: Everyone has a Santa Hat
Reply With Quote #93

Can i ask stupid question?

Why did you add
PHP Code:
iMaxPlayers get_maxplayers( ), 
if you are using this only 1 time on the plugin. Why just not to do this way?
PHP Code:
for( new id 1id <= get_maxplayers( ); id++ ) 
The same situation with iInfoTarget

Last edited by Mofforg; 11-06-2012 at 15:01.
Mofforg is offline
Send a message via ICQ to Mofforg Send a message via Skype™ to Mofforg
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 11-10-2012 , 10:32   Re: Everyone has a Santa Hat
Reply With Quote #94

Quote:
Originally Posted by Mofforg View Post
Can i ask stupid question?

Why did you add
PHP Code:
iMaxPlayers get_maxplayers( ), 
if you are using this only 1 time on the plugin. Why just not to do this way?
PHP Code:
for( new id 1id <= get_maxplayers( ); id++ ) 
The same situation with iInfoTarget
Because you should learn how loops work.
__________________
xPaw is offline
Mofforg
Senior Member
Join Date: Aug 2010
Location: Moscow, Russia
Old 11-10-2012 , 17:03   Re: Everyone has a Santa Hat
Reply With Quote #95

Quote:
Originally Posted by xPaw View Post
Because you should learn how loops work.
Can you explain it a bit?

I am asking only because i think my way is more optimized. Why should we have additional variables in memory? I remove them and i don't see any bug's.
Mofforg is offline
Send a message via ICQ to Mofforg Send a message via Skype™ to Mofforg
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 11-10-2012 , 17:44   Re: Everyone has a Santa Hat
Reply With Quote #96

PHP Code:
iMaxPlayers get_maxplayers( ) 
get_maxplayers is called once



PHP Code:
for( new id 1id <= get_maxplayers( ); id++ ) 
get_maxplayers is called up to 32 times.



Now, explain to me how your way is efficient?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (intervening in a thread, asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).

Last edited by YamiKaitou; 11-10-2012 at 17:44.
YamiKaitou is offline
jingojang
Senior Member
Join Date: Feb 2010
Location: The Moon
Old 12-10-2012 , 15:27   Re: Everyone has a Santa Hat
Reply With Quote #97

Found some kind of bugg, on some maps a hat is spawned in a random place. Ex. awp_rooftops, found a hat in the middle of the air and one time sticking out of a wall.

Not a big deal if you ask me, maybe the problem has only occurred to me.
__________________
jingojang is offline
bLacK-bLooD
AlliedModders Donor
Join Date: Jun 2008
Old 12-11-2012 , 16:07   Re: Everyone has a Santa Hat
Reply With Quote #98

Why is this plugin in the "Unapproved/Old Plugins" section?

It works as it should.
bLacK-bLooD is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 12-11-2012 , 18:08   Re: Everyone has a Santa Hat
Reply With Quote #99

Quote:
Originally Posted by bLacK-bLooD View Post
Why is this plugin in the "Unapproved/Old Plugins" section?
Quote:
Originally Posted by Emp` View Post
Unapproved. Hats plugin can do this better. If there is any drastic change, PM me.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (intervening in a thread, asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Boshkovski
Member
Join Date: Dec 2019
Old 11-18-2020 , 05:18   Re: Everyone has a Santa Hat
Reply With Quote #100

How to find that folder mddl?
Boshkovski 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 18:26.


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