• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] tag mismatch?
#7
(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?
  Reply


Messages In This Thread
tag mismatch? - by mr_sacrimoni - 2019-04-25, 02:07 PM
RE: tag mismatch? - by Ihnify - 2019-04-25, 05:51 PM
RE: tag mismatch? - by iSpark - 2019-04-25, 07:36 PM
RE: tag mismatch? - by mr_sacrimoni - 2019-04-25, 09:14 PM
RE: tag mismatch? - by hual - 2019-04-25, 09:26 PM
RE: tag mismatch? - by Y_Less - 2019-04-27, 06:43 AM
RE: tag mismatch? - by mr_sacrimoni - 2019-04-27, 09:53 AM
RE: tag mismatch? - by Y_Less - 2019-05-01, 10:09 AM
RE: tag mismatch? - by mr_sacrimoni - 2019-05-01, 04:54 PM
RE: tag mismatch? - by iSpark - 2019-04-27, 12:53 PM
RE: tag mismatch? - by mr_sacrimoni - 2019-04-28, 05:32 PM
RE: tag mismatch? - by Y_Less - 2019-05-02, 09:15 AM

Forum Jump: