15.08.2009, 15:30
Ok, Its all well and easy to do something like
....but I want something more dynamic for example:
This works, but only if "var" is made into a global variable. Is there anyway to assign the VALUE of "var" to the define, rather than making the define point to "var" which equals the value?
Any advice would be greatly appreciated!
Thanks
David
pawn Код:
#define hello 5
pawn Код:
new var = CreateVehicle(...);
#define VEHICLE var
Any advice would be greatly appreciated!
Thanks
David