[Include] B-Dial - Fast Dialog Response Processor
#13

Quote:
Originally Posted by BigETI
Посмотреть сообщение
This checks if Dial_OnDialogResponse exists (because if I check for OnDialogResponse it will of course return me not -1 so the same example for OnPlayerUpdate because if you check for OnPlayerUpdate and you want to call the hooked one but the hooked one doesn't even exists so OnPlayerUpdate will send desynced data. Simple check for it's hooked one and everything will be fine ) [Believe me I have tested it]

I don't know why I've actually used it


Mine should have a better performance and easier to use.
Don't explain me, i know what it does.
What if OnDialogResponse function id is zero?
Although when returning in OnGameModeInit is correct.
Check my scripts, for how to hook.

Edit: Oh i didn't notice you have (DIAL_ODR != -1) there.
Anyway I think a better way to do it would save it in a boolean.
pawn Код:
new bool:DIAL_ODR;
DIAL_ODR = (funcidx(...) != -1);
Reply


Messages In This Thread
B-Dial - Fast Dialog Response Processor - by BigETI - 04.11.2011, 01:07
Re: B-Dial - Fast Dialog Response Processor - by Norn - 04.11.2011, 02:24
Re: B-Dial - Fast Dialog Response Processor - by System64 - 04.11.2011, 07:40
Re: B-Dial - Fast Dialog Response Processor - by EvgeN 1137 - 04.11.2011, 07:50
Re: B-Dial - Fast Dialog Response Processor - by vampirmd - 04.11.2011, 08:19
AW: B-Dial - Fast Dialog Response Processor - by BigETI - 04.11.2011, 08:57
Re: B-Dial - Fast Dialog Response Processor - by juraska - 04.11.2011, 09:35
Re: B-Dial - Fast Dialog Response Processor - by [LaTinb0y]...$ag3R - 04.11.2011, 09:35
Re: B-Dial - Fast Dialog Response Processor - by wups - 04.11.2011, 10:32
AW: Re: B-Dial - Fast Dialog Response Processor - by BigETI - 04.11.2011, 10:37
Re: AW: Re: B-Dial - Fast Dialog Response Processor - by wups - 04.11.2011, 10:41
B-Dial - Fast Dialog Response Processor - by BigETI - 04.11.2011, 10:56
Re: B-Dial - Fast Dialog Response Processor - by wups - 04.11.2011, 10:59
AW: B-Dial - Fast Dialog Response Processor - by BigETI - 04.11.2011, 11:12
Re: B-Dial - Fast Dialog Response Processor - by Gamer_Z - 04.11.2011, 11:35
Re: B-Dial - Fast Dialog Response Processor - by BaubaS - 04.11.2011, 11:42
Re: B-Dial - Fast Dialog Response Processor - by TheArcher - 04.11.2011, 12:53
Re: B-Dial - Fast Dialog Response Processor - by Jochemd - 04.11.2011, 14:26
AW: Re: B-Dial - Fast Dialog Response Processor - by BigETI - 04.11.2011, 14:59
Re: B-Dial - Fast Dialog Response Processor - by iGear Track - 04.11.2011, 15:02
AW: B-Dial - Fast Dialog Response Processor - by BigETI - 04.11.2011, 16:38
Re: B-Dial - Fast Dialog Response Processor - by wups - 04.11.2011, 17:37
Re: B-Dial - Fast Dialog Response Processor - by Gamer_Z - 05.11.2011, 13:01
B-Dial - Fast Dialog Response Processor - by BigETI - 05.11.2011, 16:24
Re: B-Dial - Fast Dialog Response Processor - by Lookin - 05.11.2011, 17:27
Re: B-Dial - Fast Dialog Response Processor - by Gamer_Z - 05.11.2011, 17:28
Re: B-Dial - Fast Dialog Response Processor - by Anthony © - 15.10.2012, 20:56
Re: B-Dial - Fast Dialog Response Processor - by jpeg - 15.10.2012, 21:38

Forum Jump:


Users browsing this thread: 1 Guest(s)