Returns from Fake Forwards
How would I get the return value from a plugin that is using a fake forward that is executed by another plugin?
|
Re: Returns from Fake Forwards
Quote:
This is how I would do at least and at the first thought ... |
Re: Returns from Fake Forwards
You have plugin A sending fakeforward, plugin B using fakeforward, and you want plugin C to get what plugin B returned?
|
Re: Returns from Fake Forwards
Quote:
|
Re: Returns from Fake Forwards
Code:
ExecuteForward( forward, return_value );If you are using CreateMultiForward, you might want to check the second parameter in CreateMultiForward. Code:
#define ET_IGNORE 0 //ignore return val |
Re: Returns from Fake Forwards
PHP Code:
|
Re: Returns from Fake Forwards
Okay so I was trying some code for this:
Code:
Code:
Code:
L 04/08/2009 - 16:03:15: [forward_test_sender.amxx] Return1 [1 / 5]: 0amxx plugins Code:
[ 28] Forward Test Sender 0.1 Exolent forward_test_se running Where is the problem? |
Re: Returns from Fake Forwards
Print what g_forward1 and g_forward2 are. Also print what ExecuteForward returns.
|
Re: Returns from Fake Forwards
Code:
Code:
L 04/08/2009 - 18:14:26: [forward_test_sender.amxx] g_forward1 = 0 |
Re: Returns from Fake Forwards
Instead of using ET_STOP try using ET_STOP2 or ET_CONTINUE here
|
| All times are GMT -4. The time now is 02:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.