Problem hook OnPlayerEnterRaceCheckpoint
#1

Hello, i want use public OnPlayerEnterRaceCheckpoint in file include, i get warning

Код:
warning 200: symbol "_ALS_OnPlayerEnterRaceCheckpoin" is truncated to 31 characters
warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
I understand that the size of the characters in the name of the function is accustomed to the allowable size.
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 
Do you have any idea how I can intercept?
Reply


Messages In This Thread
Problem hook OnPlayerEnterRaceCheckpoint - by 28days - 02.11.2017, 16:13
Re: Problem hook OnPlayerEnterRaceCheckpoint - by 10MIN - 02.11.2017, 16:51
Re: Problem hook OnPlayerEnterRaceCheckpoint - by 28days - 02.11.2017, 19:34
Re: Problem hook OnPlayerEnterRaceCheckpoint - by ISmokezU - 02.11.2017, 22:18
Re: Problem hook OnPlayerEnterRaceCheckpoint - by BykiLler - 02.11.2017, 22:59
Re: Problem hook OnPlayerEnterRaceCheckpoint - by Gammix - 03.11.2017, 00:34

Forum Jump:


Users browsing this thread: 1 Guest(s)