Quote:
Originally Posted by Kushfield
Perhaps because the rest of the code is different?
I tried the exact code you posted with a simple command added to change players' teams and it worked just fine for me as well, aside from
Code:
L 06/24/2018 - 01:39:19: [HAMSANDWICH] Wrong data type (data is of type entity)
L 06/24/2018 - 01:39:19: [AMXX] Run time error 10 (plugin "customteamsthing.amxx") (native "SetHamParamFloat") - debug not enabled!
|
My apologies, I didn't know I only provided part of the code, I edited main post.
Quote:
Originally Posted by HamletEagle
SetHamParamFloat in TraceAttack and Killed are wrong.
|
What exactly is wrong? In TraceAttack damage is 3rd parameter and its already 3 in SetHamParamFloat, in Ham_Killed I believe it's not really needed.
EDIT: Thanks for the efforts guys, I managed to fix it.
__________________