Tag mismatch
#1

Is there something wrong in these lines of code?
PHP код:
    new Float:health;
GetPlayerHealth(playerid,health);
pInfo[playerid][pHealth] = health
Reply
#2

pHealth doesn't have Float: tag. Either add Float: tag to it in the enum or de-tag the health variable using _: (not recommend)
Reply
#3

Don't use _: it can occur bugs, switch pHealth into FloatHealth in your enumerator
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)