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

Deleting Old Entitys


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Prunned^BrickWalker
Member
Join Date: Mar 2005
Location: US, Mid West, Wisconsin
Old 11-26-2006 , 21:07   Deleting Old Entitys
Reply With Quote #1

Hey guys, I currently put respawn on my server, so I get assloads of gun spawns on the ground. Is there anyway to delete the oldest entity spawned?

I was thinking something like:

Code:
if (NumOfEntitys >= 20)      OMFGZKILL(OldestEntity);

Looks like I have some function reading to do =-].

PS. M&M Cookie to whoever helps, .
__________________

Don't fuck with the, BrickWalker .
Prunned^BrickWalker is offline
Send a message via AIM to Prunned^BrickWalker Send a message via MSN to Prunned^BrickWalker
Spanky McNutnut
AMX Mod X Beta Tester
Join Date: Feb 2006
Old 11-26-2006 , 21:47   Re: Deleting Old Entitys
Reply With Quote #2

Should just use CSDM it does that for you.
Spanky McNutnut is offline
Prunned^BrickWalker
Member
Join Date: Mar 2005
Location: US, Mid West, Wisconsin
Old 11-26-2006 , 21:48   Re: Deleting Old Entitys
Reply With Quote #3

Quote:
Originally Posted by Spanky McNutnut View Post
Should just use CSDM it does that for you.
Ill have to look into that.

*spanks spanky, and hands em' cookie*

EDIT: Just found the scripting help section, it was hidden in one of those damned sub forums . Someone want to move for me? ^^
__________________

Don't fuck with the, BrickWalker .
Prunned^BrickWalker is offline
Send a message via AIM to Prunned^BrickWalker Send a message via MSN to Prunned^BrickWalker
Prunned^BrickWalker
Member
Join Date: Mar 2005
Location: US, Mid West, Wisconsin
Old 11-26-2006 , 22:24   Re: Deleting Old Entitys
Reply With Quote #4

Strange, I installed CSDM, as I thought correctly. Now I'm thinking otherwise though, whenever I boot my server, I get a HL error, and my server crashes.

Wheres Bail when you need em', eh?

Excuse my double post.
__________________

Don't fuck with the, BrickWalker .

Last edited by Prunned^BrickWalker; 11-26-2006 at 22:27.
Prunned^BrickWalker is offline
Send a message via AIM to Prunned^BrickWalker Send a message via MSN to Prunned^BrickWalker
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 11-26-2006 , 22:26   Re: Deleting Old Entitys
Reply With Quote #5

This does not belong here.

I know you already said this above, but meh.


What error?
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
Prunned^BrickWalker
Member
Join Date: Mar 2005
Location: US, Mid West, Wisconsin
Old 11-26-2006 , 22:27   Re: Deleting Old Entitys
Reply With Quote #6

Just a windows error report.

PS: Your interior looks hawt =-0. (Your car)
__________________

Don't fuck with the, BrickWalker .
Prunned^BrickWalker is offline
Send a message via AIM to Prunned^BrickWalker Send a message via MSN to Prunned^BrickWalker
Spanky McNutnut
AMX Mod X Beta Tester
Join Date: Feb 2006
Old 11-26-2006 , 22:42   Re: Deleting Old Entitys
Reply With Quote #7

Requires 1.76+ :O
Spanky McNutnut 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 16:39.


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