Raised This Month: $ Target: $400
 0% 

Solved Manipulate Forward


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ConorCC
Member
Join Date: Feb 2014
Old 06-27-2021 , 17:35   Manipulate Forward
Reply With Quote #1

Hello there!

Is it possible to manipulate function output via a forward. For example:
Code:
native do_a_thing(id, data);
forward fw_do_a_thing(id, data);
My plugin call the do_a_thing function that return 1 by default.

In my fw_do_a_thing function I would validate the data. If it is defined as a fix value I want change the final output to 0.

I think it is possible I just want to see an example for custom functions. Like you register a client command. And it disappear from the chat if you return PLUGIN_HANDLED.

Thank you!

Last edited by ConorCC; 06-28-2021 at 05:12.
ConorCC is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:04.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode