02.11.2017, 16:13
Hello, i want use public OnPlayerEnterRaceCheckpoint in file include, i get warning
I understand that the size of the characters in the name of the function is accustomed to the allowable size.
Here is my code
Do you have any idea how I can intercept?
Код:
warning 200: symbol "_ALS_OnPlayerEnterRaceCheckpoin" is truncated to 31 characters warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
Here is my code
PHP код:
public OnPlayerEnterRaceCheckpoint(playerid)
{
//Here inside function code
#if defined t_OnPlayerEnterRaceCheckpoint
return t_OnPlayerEnterRaceCheckpoint(playerid);
#else
return 1;
#endif
}
#if defined t_OnPlayerEnterRaceCheckpoint
forward t_OnPlayerEnterRaceCheckpoint(playerid);
#endif
#if defined _ALS_OnPlayerEnterRaceCheckpoint
#undef OnPlayerEnterRaceCheckpoint
#else
#define _ALS_OnPlayerEnterRaceCheckpoint
#endif
#define OnPlayerEnterRaceCheckpoint t_OnPlayerEnterRaceCheckpoint