2019-04-27, 09:53 AM
(This post was last modified: 2019-04-27, 09:55 AM by mr_sacrimoni.)
(2019-04-27, 06:43 AM)Y_Less Wrote: `pinfo:id` must be an integer, rather than a float, but you are adding a float to it. ?That's the problem - you can only add an integer to a float if the result is also a float.
ID is a numerical representation of memory place inside of an enum.
For example if I have an enum:
PHP Code:
enum pInfo {
? ?ID, (0)
? ?Admin, (1)
? ?Level, (2)
? ?Float:Health (3)
};
pInfo:3 would hit Health, making it a float?