05.11.2009, 23:30
I was just curious if anyone had found a way to use characters besides () to enclose the (well, i don't even want to enclose is) parameters
example:
as i was writing this i realized it wouldn't be as effective as i thought. Because in order to pass the coords you would have to do
but meh, I still want to know.
Edit:FAIL, that would be putting Float: infront of the vars, it may give errors, or it may just cast them to the tag they already are.
example:
pawn Код:
#define Coord:%1 Float:%1x, Float:%1y, Float:%1z
new Coord:pPos;
pawn Код:
Functionthatneeds3floatspassed(Coord:pPos);
Edit:FAIL, that would be putting Float: infront of the vars, it may give errors, or it may just cast them to the tag they already are.
