Jump to content

Can't hit a player punching either with baseball bat


DarkLink

Recommended Posts

Hi there guys, this is kinda awkard.. but I cant figure out what is happen, I cant damage players using weapons, but when I try with my fists, punching, or with the baseball bat , its like there is not any player there... it doesnt damage the other player, it doesnt even hit anything...

EDIT:

I tryed the same thing on another resource , "play" from mta, and was fine... what could be wrong on my resource that is doing this? thanks alot again .

Do you guys have any idea, what might be ?

Thanks in advance!

Edited by Guest
Link to comment
  • MTA Team

onClientKey the fire key, then detect the player task in a 50ms timer, determine the target player using line of sights and then set the animation of the target ped (hit), then set the health.

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...