Jump to content

Dead CJ Skin All over the place near x=0 y=0 z=0


djaa2807

Recommended Posts

Here's screenshots of the problem:

http://imgr.us/images/ku262k8pv5yy8omuvlwr.png

http://imgr.us/images/gpdkfbp73e6beqeh0f9.png

As you can see dead CJs are all over the place near the 0 0 0 map position, i know players spawn at 0 0 0 (under the ground) when they join, and i also know that they fall and reappear at the location of dead CJs. I also made a small modification to the underground point 0 0 -2 to catch players from falling and reappearing there and it works.

But the dead CJ skins problem seems irrelevant of this!

Does anyone know what causes this and how i can fix it using a simple script ?

Link to comment

This may do it :

setTimer ( function ( ) 
    for i,Peds in ipairs ( getElemetsByTpe ( 'ped' ) do 
        for i,Players in ipairs ( getElemetsByTpe ( 'player' ) 
            if Peds ~= Players then 
                destroyElement ( Peds ) 
            end 
        end 
    end 
end, 50, 0 ) 

Link to comment
This may do it :
setTimer ( function ( ) 
    for i,Peds in ipairs ( getElemetsByTpe ( 'ped' ) do 
        for i,Players in ipairs ( getElemetsByTpe ( 'player' ) 
            if Peds ~= Players then 
                destroyElement ( Peds ) 
            end 
        end 
    end 
end, 50, 0 ) 

Make no sense and am sure you are kidding .

Link to comment
@djaa: You are using "abseil" resource? if so, that's the cause.

yEP i have abseil! Wow so all this time it was abseil!!

Thanks Solidsnake! :fadein:

What do you suggest? Removing the abseil script or using a script to delete the dead cjs?

@MIKI785 Thanks!

Edited by Guest
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...