#1

I have got warning in my mod.Can you help?

The warning is: ...(6435) : warning 202: number of arguments does not match definition

new phealth = GetPlayerHealth(playerid);
if(phealth < 100.0) <-----this is the line 6435
{
Reply
#2

Learn how to use the GetPlayerHealth function - https://sampwiki.blast.hk/wiki/GetPlayerHealth
Reply
#3

Код:
  new Float:phealth;
  GetPlayerHealth(playerid, phealth);
Reply
#4

Ok thx it was the problem with Float
Reply


Forum Jump:


Users browsing this thread: