help with include create
#1

Hi) I want to convert some FS to include file, but I have some problems with it: I have dialog-response, how i can put it in OnDialogResponse from include? Sorry for bad english.
Reply
#2

can you explain more
please what do you want to do
Reply
#3

Quote:
Originally Posted by amirab
Посмотреть сообщение
you can't put callbacks too includes
Amirab, Are you sure you can't put callbacks in includes?
Don't be n00b you need help and you help others? LOL
To put callbacks in include you can use y_hooks or this method:
pawn Код:
public X_OnGameModeInit()
{
//....
}

#if defined X_OnGameModeInit
forward X_OnGameModeInit();
#endif
#if defined _ALS_OnGameModeInit
#undef OnGameModeInit
#else
#define _ALS_OnGameModeInit
#endif
#define OnGameModeInit X_OnGameModeInit
or other methods like CallLocalFunction
Reply
#4

Quote:
Originally Posted by Aliassassin123456
Посмотреть сообщение
Amirab, Are you sure you can't put callbacks in includes?
Don't be n00b you need help and you help others? LOL
No Sir maybe you did't understant what am i saying
i said you can't but i mean you can't out OnDialogResponse in inclue and in gamemode ,too
Sorry if i said wrong
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)