remove deads?

noaim

New Member
Code:
    player addEventHandler ["killed",{
        (_this select 1) spawn {
            sleep 600;  // delay before body sinks into ground (seconds)
            hidebody _this;
            sleep 5;
            deleteVehicle _this;
        };
    }];

would this work, if not what do i need to set, soon a player dies, that 600 secs would be needed to remove the dead body.
 
Back
Top