AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Healthkit on dead body (CS 1.6) (https://forums.alliedmods.net/showthread.php?t=300410)

Beyonce Knowles 08-15-2017 23:05

Healthkit on dead body (CS 1.6)
 
Hello...
I need a help. Well, I tested this plugin: https://forums.alliedmods.net/showthread.php?t=81132... I've already know it, since 2009...
it's okay, but, when the player gets the Healthkit, the life pass the 100hp even I had had put the limit for 100hp... and another error, when the player dies, the healthkit never appears on the floor, it "floats" in the air. I tryed to change something in the .sma file, but nothing happened. :cry:
How can I solve it?

Thank you, guys. ^^

DjSoftero 08-16-2017 13:18

Re: Healthkit on dead body (CS 1.6)
 
find line 88:
PHP Code:

flOrigin] -= 36

modify the number 36 to lower or higher untill your medkit sits on the ground properly

Beyonce Knowles 08-16-2017 14:13

Re: Healthkit on dead body (CS 1.6)
 
Quote:

Originally Posted by DjSoftero (Post 2541994)
find line 88:
PHP Code:

flOrigin] -= 36

modify the number 36 to lower or higher untill your medkit sits on the ground properly

Hey, DjSoftero. how's it going?
Well, what you suggested me, I've already tried to many times... it seems like nothing what I put there, makes any change... I've tried: 0, 1, 2, 10, 12, 40, 90, 750, 900, -12... and the medkit still floats in the same place, never touch the ground....

What should I do?
Thanks ^^

DjSoftero 08-16-2017 14:35

Re: Healthkit on dead body (CS 1.6)
 
Quote:

Originally Posted by Beyonce Knowles (Post 2542010)
Hey, DjSoftero. how's it going?
Well, what you suggested me, I've already tried to many times... it seems like nothing what I put there, makes any change... I've tried: 0, 1, 2, 10, 12, 40, 90, 750, 900, -12... and the medkit still floats in the same place, never touch the ground....

What should I do?
Thanks ^^

are you sure you recompiled the plugin and replaced it in the plugins folder?

Beyonce Knowles 08-16-2017 14:51

Re: Healthkit on dead body (CS 1.6)
 
Quote:

Originally Posted by DjSoftero (Post 2542017)
are you sure you recompiled the plugin and replaced it in the plugins folder?


With all of my forces, I can say yes kkkkk.
I used the amxmodx compiler and replaced all the times I moved to file...
What now? :(

Beyonce Knowles 08-20-2017 10:53

Re: Healthkit on dead body (CS 1.6)
 
Anyone? :/

edon1337 08-21-2017 07:37

Re: Healthkit on dead body (CS 1.6)
 
Quote:

Originally Posted by DjSoftero (Post 2541994)
modify the number 36 to lower or higher untill your medkit sits on the ground properly

Actually, you have to entirely remove that.

Remove this from your code.
Code:
flOrigin[ z ] -= 36;

Beyonce Knowles 08-21-2017 10:31

Re: Healthkit on dead body (CS 1.6)
 
1 Attachment(s)
Quote:

Originally Posted by edon1337 (Post 2543278)
Actually, you have to entirely remove that.

Remove this from your code.
Code:
flOrigin[ z ] -= 36;

Hello, edon1337.
So, I removed that line and still doesn't work. Look this print.
I don't know what to do anymore Ç____Ç

HamletEagle 08-21-2017 10:44

Re: Healthkit on dead body (CS 1.6)
 
drop_to_floor

edon1337 08-21-2017 12:22

Re: Healthkit on dead body (CS 1.6)
 
Quote:

Originally Posted by HamletEagle (Post 2543320)
drop_to_floor

I thought he already had that in his code, lol.


All times are GMT -4. The time now is 00:36.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.