06.05.2018, 11:15
Use OnPlayerPickUpDynPickup instead of OnPlayerPickUpDynamicPickup. y_hooks allow some shortcut:
You can add your own shortcut if you want to.
PHP код:
// Create the default replacements.
DEFINE_HOOK_REPLACEMENT(Checkpoint, CP );
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);