19.01.2016, 01:18
Is there any way you can possibly identify an argument's type. Currently i am only working on single index arguments, no arrays.
So if i have a function like this:
How can i do such thing:
So if i have a function like this:
pawn Код:
MyFunc({_, Float}:...)
{
}
pawn Код:
MyFunc({_, Float}:...)
{
if (its only a number)
{
}
else if (its only a float)
{
}
else //its a string
{
}
}