just an issue with a sethp cmd
#4

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.
Reply


Messages In This Thread
just an issue with a sethp cmd - by wallen - 13.03.2018, 19:21
Re: just an issue with a sethp cmd - by AdamsLT - 13.03.2018, 19:27
Re: just an issue with a sethp cmd - by wallen - 13.03.2018, 19:34
Re: just an issue with a sethp cmd - by AdamsLT - 13.03.2018, 19:45
Re: just an issue with a sethp cmd - by ISmokezU - 13.03.2018, 21:37

Forum Jump:


Users browsing this thread: 1 Guest(s)