Quote:
Originally Posted by LarzI
I have absolutely no idea. I'll have to investigate some before I have an answer. I'll edit this post if I find anything.
Edit: I've only seen usage of ALS with callbacks in includes like zcmd and such, but it's no harm testing it with functions?
Example:
pawn Код:
#if defined _ALS_PutPlayerInVehicle #undef PutPlayerInVehicle #else #define _ALS_PutPlayerInVehicle #endif #define PutPlayerInVehicle sth1_PutPlayerInVehicle
pawn Код:
#if defined _ALS_PutPlayerInVehicle #undef PutPlayerInVehicle #else #define _ALS_PutPlayerInVehicle #endif #define PutPlayerInVehicle sth2_PutPlayerInVehicle
I have absolutely no idea what this does, why it does it, and lastly if it even will work, but hey, it's worth a shot? I guess..
|
I replaced the #define ... and it doesn't give the warning anymore. Thanks a lot!
Quote:
Originally Posted by ******
You mentioned fixes.inc which does this too. And that code looks right to me.
|
Yeah, I noticed that fixes.inc used ALS, but the other include didn't. Thanks for your help!