OnPlayerEnterDynamicCP - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: OnPlayerEnterDynamicCP (
/showthread.php?tid=613304)
OnPlayerEnterDynamicCP -
alishvasis - 26.07.2016
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
Re: OnPlayerEnterDynamicCP -
Rockefeller - 26.07.2016
Your symbol already defined one time , do not define same think again and you can use it again
Re: OnPlayerEnterDynamicCP -
alishvasis - 26.07.2016
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" ?
Re: OnPlayerEnterDynamicCP -
AbyssMorgan - 27.07.2016
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
Re: OnPlayerEnterDynamicCP -
alishvasis - 28.07.2016
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