Raised This Month: $12 Target: $400
 3% 

Healthkit on dead body (CS 1.6)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Beyonce Knowles
Member
Join Date: Jan 2012
Location: Brazil
Old 08-15-2017 , 23:05   Healthkit on dead body (CS 1.6)
Reply With Quote #1

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.
How can I solve it?

Thank you, guys. ^^
Beyonce Knowles is offline
DjSoftero
Veteran Member
Join Date: Nov 2014
Location: Lithuania
Old 08-16-2017 , 13:18   Re: Healthkit on dead body (CS 1.6)
Reply With Quote #2

find line 88:
PHP Code:
flOrigin] -= 36
modify the number 36 to lower or higher untill your medkit sits on the ground properly
__________________
retired chump
DjSoftero is offline
Beyonce Knowles
Member
Join Date: Jan 2012
Location: Brazil
Old 08-16-2017 , 14:13   Re: Healthkit on dead body (CS 1.6)
Reply With Quote #3

Quote:
Originally Posted by DjSoftero View Post
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 ^^
Beyonce Knowles is offline
DjSoftero
Veteran Member
Join Date: Nov 2014
Location: Lithuania
Old 08-16-2017 , 14:35   Re: Healthkit on dead body (CS 1.6)
Reply With Quote #4

Quote:
Originally Posted by Beyonce Knowles View Post
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?
__________________
retired chump
DjSoftero is offline
Beyonce Knowles
Member
Join Date: Jan 2012
Location: Brazil
Old 08-16-2017 , 14:51   Re: Healthkit on dead body (CS 1.6)
Reply With Quote #5

Quote:
Originally Posted by DjSoftero View Post
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 is offline
Old 08-16-2017, 14:54
Beyonce Knowles
This message has been deleted by Beyonce Knowles.
Beyonce Knowles
Member
Join Date: Jan 2012
Location: Brazil
Old 08-20-2017 , 10:53   Re: Healthkit on dead body (CS 1.6)
Reply With Quote #6

Anyone? :/
Beyonce Knowles is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 08-21-2017 , 07:37   Re: Healthkit on dead body (CS 1.6)
Reply With Quote #7

Quote:
Originally Posted by DjSoftero View Post
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;
__________________
edon1337 is offline
Beyonce Knowles
Member
Join Date: Jan 2012
Location: Brazil
Old 08-21-2017 , 10:31   Re: Healthkit on dead body (CS 1.6)
Reply With Quote #8

Quote:
Originally Posted by edon1337 View Post
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 Ç____Ç
Attached Images
File Type: jpg kit.jpg (62.5 KB, 288 views)
Beyonce Knowles is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-21-2017 , 10:44   Re: Healthkit on dead body (CS 1.6)
Reply With Quote #9

drop_to_floor
__________________
HamletEagle is online now
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 08-21-2017 , 12:22   Re: Healthkit on dead body (CS 1.6)
Reply With Quote #10

Quote:
Originally Posted by HamletEagle View Post
drop_to_floor
I thought he already had that in his code, lol.
__________________
edon1337 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:58.


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