28.03.2016, 00:01
Yes, but not in the situation, in a following:
But the variable in pointers.inc is created with no tag.
But I can possible using the macro.
I wanted to know if there is another way.
PS: Sorry if not get express better. My english is not fluent
PHP код:
SomeFunc(playerid, GLOBAL_TAG_TYPES:...)
{
if(tagof(@arg[1]) == tagof(Float:)){ // 0x43
}
}
But I can possible using the macro.
PHP код:
#define SomeFunc(%0,%1) _SomeFunc(%0,tagof(%1),%1)
_SomeFunc(playerid, tag, GLOBAL_TAG_TYPES:...)
{
if(tagof(tag) == tagof(Float:)){ // 0x43
}
}
PS: Sorry if not get express better. My english is not fluent