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

Making dead players disappear.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
c0ldfyr3
AlliedModders Donor
Join Date: Aug 2005
Location: Ireland
Old 10-17-2005 , 15:06   Making dead players disappear.
Reply With Quote #1

Anyone tried it ?

Tried setting rendor, colour and teleport =(
__________________
c0ldfyr3 is offline
Send a message via MSN to c0ldfyr3 Send a message via Yahoo to c0ldfyr3
c0ldfyr3
AlliedModders Donor
Join Date: Aug 2005
Location: Ireland
Old 10-18-2005 , 06:59  
Reply With Quote #2

Ok, how about I be a little more specific.

Bail is probably the man I need here, again lol.

Removing the ragdolls, how do you even get the players ragdoll let alone remove it ?
__________________
c0ldfyr3 is offline
Send a message via MSN to c0ldfyr3 Send a message via Yahoo to c0ldfyr3
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 10-18-2005 , 13:28  
Reply With Quote #3

Did you try looping through all the entities and printing out their class names/model names?

I'd assume you could find it by the model name, then if the entity ID is > maxplayers then it's not a player, so then remove it.
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
c0ldfyr3
AlliedModders Donor
Join Date: Aug 2005
Location: Ireland
Old 10-18-2005 , 13:51  
Reply With Quote #4

Im an idiot

But there has to be a more efficient way than...

Code:
for ( int x = 0; x<= numEntities; x++ )
{
	if ( FStrEq( ClassName[x], "Blah" ) )
	{
		Remove;
	}
}
Seems a little long winded.[/code]
__________________
c0ldfyr3 is offline
Send a message via MSN to c0ldfyr3 Send a message via Yahoo to c0ldfyr3
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 00:50.


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