How To Change Public OnPlayerEnterCheckpoint
#1

Hi ! How To Change
PHP код:
public OnPlayerEnterCheckpoint(playerid
To Other Things

For Example Change To

PHP код:
public Dub_OnPlayerEnterCheckpoint(playerid
Reply
#2

Use ALS hooks

E.g.
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
}
#if defined _ALS_OnPlayerEnterCheckpoint
    #undef OnPlayerEnterCheckpoint
#else
    #define _ALS_OnPlayerEnterCheckpoint
#endif
#define OnPlayerEnterCheckpoint Dub_OnPlayerEnterCheckpoint
#if defined Dub_OnPlayerEnterCheckpoint
forward Dub_OnPlayerEnterCheckpoint(playerid);
#endif
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)