05.03.2016, 12:10
Or, for example:
Код:
public OnPlayerEnterRaceCheckpoint(playerid) { #if defined mylib_OnPlayerEnterRaceCheckpoint mylib_OnPlayerEnterRaceCheckpoint(playerid); #else return 1; #endif } #if defined _ALS_OnPlayerEnter\ // <- RaceCheckpoint #undef OnPlayerEnterRaceCheckpoint #else #define _ALS_OnPlayerEnterRaceCheckpoint #endif #define OnPlayerEnterRaceCheckpoint mylib_OnPlayerEnterRaceCheckpoint #if defined mylib_OnPlayerEnterRaceCheckpoint forward mylib_OnPlayerEnterRaceCheckpoint(playerid); #endif