dthxxx666 Posted October 16, 2018 Share Posted October 16, 2018 Hola , solo queria que al matar peds no desaparezcan a los pocos segundos , sinó en 1 minuto y que cuando les dispare en la cabeza con cualquier arma pierdan la cabeza probé poner setTimer(delPeds,14000,1,thePed) estas dos cosas son algo que nunca me salió jamás en la vida Link to comment
Zorgman Posted October 16, 2018 Share Posted October 16, 2018 Hola, 14000 means 14 seconds, use 60000 for one full minute (unit is miliseconds, so 1000 = 1 second ). Link to comment
dthxxx666 Posted October 16, 2018 Author Share Posted October 16, 2018 @Zorgman es que no se ni donde va el settimer ya probé en todas lados y no duran mas de unos 5 segundos , probé dentro de slothbot , con script aparte y asi y no me funciona Link to comment
Zorgman Posted October 16, 2018 Share Posted October 16, 2018 (edited) If I remember correctly, slothbot deletes it's own dead peds. Dunno what was the default interval, I am using 2 minutes. If they get deleted that fast, there's probably another resource that does it. Open all your server scripts in notepad++ and run a search for "onPedWasted", see what results you get. Edited October 16, 2018 by Zorgman 1 Link to comment
dthxxx666 Posted October 16, 2018 Author Share Posted October 16, 2018 @Zorgman i had this ---setTimer ( destroyElement, 5000, 1, source) I took it off and it worked , thanks dude Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now