truncated to 31 characters help
#4

Use OnPlayerPickUpDynPickup instead of OnPlayerPickUpDynamicPickup. y_hooks allow some shortcut:
PHP код:
// Create the default replacements.
DEFINE_HOOK_REPLACEMENT(CheckpointCP );
DEFINE_HOOK_REPLACEMENT(Container Cnt);
DEFINE_HOOK_REPLACEMENT(Inventory Inv);
DEFINE_HOOK_REPLACEMENT(Dynamic   Dyn);
DEFINE_HOOK_REPLACEMENT(TextDraw  TD );
DEFINE_HOOK_REPLACEMENT(Update    Upd);
DEFINE_HOOK_REPLACEMENT(Object    Obj);
DEFINE_HOOK_REPLACEMENT(Command   Cmd);
DEFINE_HOOK_REPLACEMENT(DynamicCP DynamicCP); 
You can add your own shortcut if you want to.
Reply


Messages In This Thread
truncated to 31 characters help - by ShadowBlack - 06.05.2018, 10:09
Re: truncated to 31 characters help - by Sew_Sumi - 06.05.2018, 10:58
Re: truncated to 31 characters help - by TadePoleMG - 06.05.2018, 11:00
Re: truncated to 31 characters help - by Dayrion - 06.05.2018, 11:15
Re: truncated to 31 characters help - by Sew_Sumi - 06.05.2018, 18:39
Re: truncated to 31 characters help - by Dayrion - 06.05.2018, 18:47
Re: truncated to 31 characters help - by Deadpoop - 06.05.2018, 18:58
Re: truncated to 31 characters help - by Sew_Sumi - 07.05.2018, 00:59

Forum Jump:


Users browsing this thread: 1 Guest(s)