Jump to content

Help


Guest

Recommended Posts

Posted

please guys i need help

in killmessage When i kill player With hydra i Wan't see IMG of hydra

and Thanks

Posted (edited)

MTA have a default resource named killmessage, start it with the admin panel then after killing players with hydra you will see what you are looking for

Edited by Guest
Posted (edited)

Hey Hyper,

-If im not wrong,It's not possible because in this picture you hit the player with the "520 ID" (Hydra) not with rockets and in killmessage resource 520 ID is replaced with hydra image, so when you send the rockets to someone he get killed with "fist" or "brassknuckle" ammos not with hydra, you have to hit the player for showing this image by rockets no, thats because if you're inside the hydra you can't change weapons, you can only see the "fist" and "brassknuckle" ammos in the HUD since the driveby resource doesn't works for planes also, if the player is inside the car and it's explosed, because you sent him these rockets then the "generic image" will show in the kill message GUI.

-There's a one solution for that you've to remplace those weapons IDs, "fist" and "brassknuckle" to "Hydra image (520 ID) BUT the issues is, when the player kill other player with the fist, the hydra image with shows up not fist and brassknuckle.

Edited by Guest
Posted (edited)

That's because when you replaced the image you forgot to set the default size of hydra image it should be 61x20.

So, change the size from 21x20 to 61x20 and it will works

Edited by Guest
Posted

No need to send me all the resource, i thought you going to send just a part of it xD

Anyway, go to definitions.lua in the killmessage resource the first line OF it you'll find a table named "iconWidths" change the first line of it from this

iconWidths = { 
[0] = 21, 
} 

To this

iconWidths = { 
[0] = 61, 
} 

It should do what you are looking for :wink:

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