04.02.2015, 23:21
Quote:
I recently came into a problem with ORM. It creates an instance with the ID 0. To sort out this problem I have been trying to find out which function it creates it in.
This is an example: pawn Код:
What kind of variable are the ORM ID's? |
Or you remove the tag with _: but that would remove the sense of using tags at all (not recommended)
Alternative you could set the tag of the zero to ORM: (if thats the correct tag - check your definition)
pawn Код:
if(Something[playerid][ORM_ID])
if(_: Something[playerid][ORM_ID] != 0)
if(Something[playerid][ORM_ID] != ORM: 0)