Raised This Month: $51 Target: $400
 12% 

Changing FM to ReApi


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Krystek.
Member
Join Date: May 2022
Old 04-26-2023 , 13:46   Changing FM to ReApi
Reply With Quote #1

How can I change it on Reapi?

PHP Code:
register_forward(FM_UpdateClientData"fw_updateclientdata"1);

public 
fw_updateclientdata(idswcd_handle) {
    if(
user_has_pbgun(id) && cd_handle)
    {
        
set_cd(cd_handleCD_ID1);
        
get_cd(cd_handleCD_flNextAttacknextattack[id]);
        return 
FMRES_HANDLED;
    }
    return 
FMRES_IGNORED;

That's all I know for now

PHP Code:
RegisterHookChain(RG_CBasePlayer_UpdateClientData"function"1

Last edited by Krystek.; 04-26-2023 at 13:46.
Krystek. is offline
GoodbayKOD
Junior Member
Join Date: Oct 2021
Old 04-26-2023 , 18:46   Re: Changing FM to ReApi
Reply With Quote #2

continue using the FM_
reapi's is very different and does not have the necessary parameters

https://github.com/s1lentq/ReGameDLL...ayer.cpp#L7081
https://github.com/s1lentq/ReGameDLL...ient.cpp#L4834
__________________

Last edited by GoodbayKOD; 04-26-2023 at 18:47.
GoodbayKOD is offline
Krystek.
Member
Join Date: May 2022
Old 04-27-2023 , 02:15   Re: Changing FM to ReApi
Reply With Quote #3

Quote:
Originally Posted by GoodbayKOD View Post
continue using the FM_
reapi's is very different and does not have the necessary parameters

https://github.com/s1lentq/ReGameDLL...ayer.cpp#L7081
https://github.com/s1lentq/ReGameDLL...ient.cpp#L4834
Well, maybe there is an option to replace it with the ENGINE library?
Krystek. is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 04-27-2023 , 07:31   Re: Changing FM to ReApi
Reply With Quote #4

Why don't you want to use fakemeta, what's wrong with it ?

Fakemeta and engine both use the same technique.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Krystek.
Member
Join Date: May 2022
Old 04-27-2023 , 12:21   Re: Changing FM to ReApi
Reply With Quote #5

Resigning from FM in favor of Engine I noticed better server performance.
Krystek. is offline
mlibre
Veteran Member
Join Date: Nov 2015
Location: return PLUGIN_CONTINUE
Old 04-27-2023 , 13:55   Re: Changing FM to ReApi
Reply With Quote #6

as long as there is the possibility to do it, do not hesitate, the engine will be faster
__________________
mlibre is offline
Krystek.
Member
Join Date: May 2022
Old 04-27-2023 , 13:58   Re: Changing FM to ReApi
Reply With Quote #7

Quote:
Originally Posted by mlibre View Post
as long as there is the possibility to do it, do not hesitate, the engine will be faster
I try to seek advice here if I don't know something.
Krystek. is offline
baneado
Veteran Member
Join Date: Dec 2012
Location: amxmodx-es.com
Old 05-04-2023 , 18:13   Re: Changing FM to ReApi
Reply With Quote #8

Quote:
Originally Posted by Krystek. View Post
Resigning from FM in favor of Engine I noticed better server performance.
Come on... We aren't on 2005.
You can't see any difference between engine and fakemeta nowadays.

There isn't any option to replace that fakemeta hook
baneado is offline
tikpop
New Member
Join Date: May 2023
Old 05-06-2023 , 02:41   Re: Changing FM to ReApi
Reply With Quote #9

If you’re curious to know which is the night vision camera for wildlife, here you should give you a pretty good idea. https://bestwildlifecamera.com/canon...bel-t7-review/
tikpop is offline
Reply



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 20:25.


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