truncated to 31 characters help
#1

i have ysi hooks, and i get this error at onplayerpickupdynamicpickup

https://pastebin.com/x8S2KBYe


how i can solve
Reply
#2

Can you post up the actual error message, as that mentions which line it is on.
Reply
#3

hi

Please post your actual error msg with line in which it occurs.
Reply
#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
#5

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
Use OnPlayerPickUpDynPickup instead of OnPlayerPickUpDynamicPickup.
"It's alright boys, we got 4 characters spare, crisis averted."
Reply
#6

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
"It's alright boys, we got 4 characters spare, crisis averted."
It's enough, isn't it?
Reply
#7

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
"It's alright boys, we got 4 characters spare, crisis averted."
sarcasm king spoken!
Reply
#8

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
It's enough, isn't it?
It could be, but in the longer term, the OP needs to figure out which lines are over-flowing and try optimize them, or otherwise do them in multiple passes, rather than the one.

Definitely would be good though if the OP could highlight which line it's actually producing the error, or the log that states what's going on.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)