Jump to content

Can't hit a player punching either with baseball bat


DarkLink

Recommended Posts

Posted (edited)

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
Posted

It's possible to edit your post - would you mind doing that instead of double posting?

Do NOT PM ME for help unless invited. - New MTA Script Editor

Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.

Posted

The same happens at my server, players can't damage others, they have to reconnect/logout in order to do so.

It must be a new MTA bug.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Oh, are you out of the San Andreas Map bounds?

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

You can't damage with melee if you are out of San Andreas.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

I just know that you can't damage with Melee out of SA map bounds.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

onClientPlayerWeaponFire doesn't work for Melee.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

  • MTA Team
Posted

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.

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