Quote:
Originally Posted by ******
They are just integers, so "i" or "d", but because they have a special tag the compiler will complain as it doesn't think that is a valid use. We know it IS a valid use though, so you can override it like so:
pawn Код:
CallRemoteFunction("SS_OnPlayerClickPlayerTextDraw", "di", playerid, _:playertextid);
The "x:" syntax means "pretend the following symbol is this tag". The default tag for integers that don't have a tag specified (like your "playerid" variable) is "_".
|
Oho, So essentially _: tells it to ignore the tag and treat the integer value as a integer value. That's very useful. Much thanks for the explanation. This reminds me of casting object to other objects in Java.