Raised This Month: $ Target: $400
 0% 

Help with a custom mod


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bad_Bud
Senior Member
Join Date: Oct 2006
Location: The internet
Old 01-11-2007 , 17:29   Re: Help with a custom mod
Reply With Quote #1

Quote:
Originally Posted by dutchmeat View Post
set_task IS a timer... and i makes no difference at all, plus storing all these timers would need more memory then a premade set_task.
Storing one number is a small price to pay for eating up the server's CPU.

Try reading what Hawk552 wrote about set_tasks, he's has more respect than I do, perhaps you'll listen to his words. Besides, storing the number is a more logical way to do it anyway.

http://forums.alliedmods.net/showthread.php?t=43049
__________________
Bad_Bud is offline
over_mind
Member
Join Date: Aug 2006
Location: Cajun Country!
Old 01-12-2007 , 03:56   Re: Help with a custom mod
Reply With Quote #2

Well I've gotten the rentmod working, the only thing I've left out is making it so that people can't rent more than 1 room at a time. I'm still confused on how to do this, any help?
over_mind is offline
Send a message via AIM to over_mind Send a message via MSN to over_mind
dutchmeat
Senior Member
Join Date: Sep 2006
Old 01-12-2007 , 04:11   Re: Help with a custom mod
Reply With Quote #3

Quote:
Originally Posted by Bad_Bud View Post
Storing one number is a small price to pay for eating up the server's CPU.

Try reading what Hawk552 wrote about set_tasks, he's has more respect than I do, perhaps you'll listen to his words. Besides, storing the number is a more logical way to do it anyway.

http://forums.alliedmods.net/showthread.php?t=43049
After reading Hawks tutorial, i'm confinced he indeed should use timers instead of set_Tasks, the reason is because over_mind need the timers in pre_think, or server_frame, set_tasks are not appropriate there.
__________________
before you criticize someone, you should walk a mile in their shoes. that way, when you criticize them, you're a mile away and you have their shoes.
dutchmeat 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 22:26.


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