OnPlayerEnterDynamicCP
#1

Hi I Neeed This But already defined How To use This Again? ALS ? Please Give Me Full For USe It Again

Код HTML:
symbol already defined: "S@@_OnPlayerEnterDynamicCP"
i'v use it on my Include how to use ALS for OnPlayerEnterDynamicCP?
i,v use ALS But Not Work For OnPlayerEnterDynamicCP i Think Use Hook For This But I Dont Know please help me
Reply
#2

Your symbol already defined one time , do not define same think again and you can use it again
Reply
#3

Quote:
Originally Posted by Rockefeller
Посмотреть сообщение
Your symbol already defined one time , do not define same think again and you can use it again
I Need It For My Include .... Anyone Can Give Me On ALS Method Or Hook For OnPlayerEnterDynamicCP" ?
Reply
#4

What's the problem, hooks can be added as much as I want.

Replace YOUTAG
PHP код:
//Hook: OnPlayerEnterDynamicCP
public OnPlayerEnterDynamicCP(playerid,checkpointid){
    
//bla bla
    #if defined YOUTAG_OnPlayerEnterDynamicCP
        
YOUTAG_OnPlayerEnterDynamicCP(playerid,checkpointid);
    
#endif
    
return 1;
}
#if defined _ALS_OnPlayerEnterDynamicCP
    #undef OnPlayerEnterDynamicCP
#else
    #define _ALS_OnPlayerEnterDynamicCP
#endif
#define OnPlayerEnterDynamicCP YOUTAG_OnPlayerEnterDynamicCP
#if defined YOUTAG_OnPlayerEnterDynamicCP
    
forward YOUTAG_OnPlayerEnterDynamicCP(playerid,checkpointid);
#endif 
Reply
#5

Quote:
Originally Posted by AbyssMorgan
Посмотреть сообщение
What's the problem, hooks can be added as much as I want.

Replace YOUTAG
PHP код:
//Hook: OnPlayerEnterDynamicCP
public OnPlayerEnterDynamicCP(playerid,checkpointid){
    
//bla bla
    #if defined YOUTAG_OnPlayerEnterDynamicCP
        
YOUTAG_OnPlayerEnterDynamicCP(playerid,checkpointid);
    
#endif
    
return 1;
}
#if defined _ALS_OnPlayerEnterDynamicCP
    #undef OnPlayerEnterDynamicCP
#else
    #define _ALS_OnPlayerEnterDynamicCP
#endif
#define OnPlayerEnterDynamicCP YOUTAG_OnPlayerEnterDynamicCP
#if defined YOUTAG_OnPlayerEnterDynamicCP
    
forward YOUTAG_OnPlayerEnterDynamicCP(playerid,checkpointid);
#endif 
Thank You So MuCh +Rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)