View Full Version : Making dead players disappear.
c0ldfyr3
10-17-2005, 15:06
Anyone tried it ?
Tried setting rendor, colour and teleport =(
c0ldfyr3
10-18-2005, 06:59
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 ?
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.
c0ldfyr3
10-18-2005, 13:51
Im an idiot :oops:
But there has to be a more efficient way than...
for ( int x = 0; x<= numEntities; x++ )
{
if ( FStrEq( ClassName[x], "Blah" ) )
{
Remove;
}
}
Seems a little long winded.[/code]
vBulletin® v3.8.7, Copyright ©2000-2024, vBulletin Solutions, Inc.