Sign in to follow this  
elmoxxx666

peds en cliente que desaparecen , Ayuda

Recommended Posts

Posted (edited)
4 minutes ago, elmoxxx666 said:
tenia peds en server side y los cambié a cliente para poder ponerles invencibilidad y funciona bien pero se desapaecen, no se que estará mal
:/
 
ped5 = createPed(115, 495.626953125, -76.041015625, 998.7578125)
setElementInterior ( ped5, 11 )
setPedRotation(ped5, 200.0000000)
setElementDimension ( ped5, 0 )
setPedAnimation(ped5, "ped", "IDLE_chat")
function cancelPedDamage()
cancelEvent()
end
addEventHandler("onClientPedDamage", ped5, cancelPedDamage)

estan en interiores, yo inicio el resource y aparecen pero si sales y entras de nuevo ya no se ven ni estan ahí,  perdonen que me salió el codigo todo estirado no se porqué...

Edited by elmoxxx666

Share this post


Link to post

olvidenlo ya lo solucioné  jsjs xD qe noob

setPedAnimation(ped9, "COP_AMBIENT", "Coplook_loop", 1, false, true, false)

 

Share this post


Link to post

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.