Small dead body problem
#1

Hello everyone, Im using a piece of code that creates a dead body at the place you've died.
Everything is cool when I run it on my home host - the body lays down dead, but when I upload it on the host Im using, the body is standing still, not laying down like dead. Any solution ?

NOTE: My home host is on Windows, the other host Im using is on Linux.

EDIT: Noticed on my home host, that when I updated it from 0.3.7 to 0.3.7 R2-1, it got bugged there too, why's that ?

Home host 0.3.7 :


Other host 0.3.7 R2-1 :
Reply
#2

Hello!

Can you send us the code of this "system"?
Reply
#3

Using this one: https://sampforum.blast.hk/showthread.php?tid=573210
Reply
#4

I think this is a mistake between the position after the death. Maybe it is a mistake to get the right position.
Give this actor an animation, and then it should work.

https://sampwiki.blast.hk/wiki/ApplyActorAnimation
Reply
#5

Well it was working fine on the 0.3.7 version of samp, but on the 0.3.7 R2-1 it doesnt, already tried to apply animation to the actor, but its still standing like a statue?!
Reply
#6

Make sure that you first set the position of the actor then apply the animation, because if you first apply the animation and then set the position it can be viewed differently in the other players screens.
Reply
#7

First Im setting the position, then Im applying the animation, and thats not the problem because it's setting the actor's health to 0 and it should be laying down like dead, and it was working perfectly on 0.3.7, now its not on 0.3.7 R2-1 ?

PHP код:
            SetActorVirtualWorld(RemainsData[r_id][Model],    world);
            
SetActorHealth(RemainsData[r_id][Model],          0.0); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)