13.03.2018, 19:45
Your code seems fine (unless I'm missing something silly).
Oh and SetPlayerHealth uses a Float type for the amount.
Maybe that is the reason. Change it from an integer to a float.
sscanf(params, "ui" ...) -> sscanf(params, "uf" ...)
new amount -> new Float:amount;
%d -> %f
etc.
Oh and SetPlayerHealth uses a Float type for the amount.
Maybe that is the reason. Change it from an integer to a float.
sscanf(params, "ui" ...) -> sscanf(params, "uf" ...)
new amount -> new Float:amount;
%d -> %f
etc.