14.01.2011, 16:58
oh thanks! I get it now, thank you very much
it's working perfectly, but I don't understand yet what _ALS_OnPlayerConnect means
where does ALS stand for?
It seems to work without defining _ALS_OnPlayerConnect so I don't understand why it should be added
and it also works without
so with only this:
because the new #define automaticly overwrites OnPlayerConnect, so it doesn't need to be undefined first?
it's working perfectly, but I don't understand yet what _ALS_OnPlayerConnect means
where does ALS stand for?
It seems to work without defining _ALS_OnPlayerConnect so I don't understand why it should be added
and it also works without
Код:
#if defined _ALS_OnPlayerConnect #undef OnPlayerConnect #else #define _ALS_OnPlayerConnect #endif
Код:
#define OnPlayerConnect F_OnPlayerConnect forward F_OnPlayerConnect(playerid);