Raised This Month: $ Target: $400
 0% 

Set Damage


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 07-04-2019 , 08:12   Re: Set Damage
Reply With Quote #1

SetHamParamFloat is what you should use. Are you testing with bots? If yes, you also need to register the ham for bots https://forums.alliedmods.net/showthread.php?t=294861 or https://forums.alliedmods.net/showpo...5&postcount=20.

Otherwise post whole plugin code, we can't guess what these variables mean.
__________________








CrazY. is offline
thEsp
BANNED
Join Date: Aug 2017
Old 07-04-2019 , 08:24   Re: Set Damage
Reply With Quote #2

Quote:
Originally Posted by CrazY. View Post
Are you testing with bots? If yes, you also need to register the ham for bots https://forums.alliedmods.net/showthread.php?t=294861 or https://forums.alliedmods.net/showpo...5&postcount=20
IDK if this isn't present in < 1.9 or it didn't exist when you made that tutorial, but you can simply append "true" to Ham registers to support bots.

https://www.amxmodx.org/api/hamsandwich/RegisterHam
Code:
native HamHook:RegisterHam(Ham:function, const EntityClass[], const Callback[], Post=0, bool:specialbot = false);
thEsp is offline
Reply



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 17:25.


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