Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Player vs. Player animations


lel
 Share

Recommended Posts

When a player hits another player with a weapon the animation set on that weapon doesn't show.
Now I know….... Some of us our S-L-O-W Here are pictures to explain what I mean.....

If weapon has animation set on it.
![](http://i30.photobucket.com/albums/c345/valiustrigger/Example1.jpg)

Animation works on NPC's
![](http://i30.photobucket.com/albums/c345/valiustrigger/Example2.jpg)

But not on players
![](http://i30.photobucket.com/albums/c345/valiustrigger/Example3.jpg)

( Why I am adding pictures? I someone is so slow they need pictures, IDK. )
Anyone know how to fix this?

Edit….. heh....  100th post.
How about that?
Link to comment
Share on other sites

try placing this in PlayerAttackPlayer in the server:

```
' send animation
        If n > 0 Then
            If Not overTime Then
                If spellnum = 0 Then Call SendAnimation(mapnum, Item(GetPlayerEquipment(attacker, Weapon)).Animation, GetPlayerX(victim), GetPlayerY(victim))
            End If
        End If
```
Put above where it says ' send the sound
Link to comment
Share on other sites

@Likestodraw:

> I thought it worked when I tried doing PvP in the arena a built, but I could have just been hallucinating. I do that a lot.
> Seriously?

I checked to see if it was a problem with the original first (before bugging my normal programer telling him its a bug.)  However then this happens lol

@jcsnider:

> overTime is not a variable in sub Playerattackplayer ;)
>
> It is also needed in 2 different positions ;).
>
> Needless to say, I have fixed it for him and sent him his own source… once he confirms, this issue is handled.

Thank you very much! I will test it asap.
Link to comment
Share on other sites

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
 Share

×
×
  • Create New...