updating object scale and offsets in attached objects
#8

Quote:
Originally Posted by NaS
Посмотреть сообщение
I forgot the word "Attached", just a typo. Obviously he is using SetPlayerAttachedObject, otherwise OnPlayerEditAttachedObject wouldn't be called (which is the case since the values in the DB were updated).

But you probably gave away the proper fix. Returning 1.
Well although he already returned 1 in his code, he also said that he only runs gamemode... Since returning 0 from filterscripts or another codes in filtescripts might prevent that.

What still weird for me is why he used objectid from GetPVarInt "slot" instead of index variable. That's why i want to know first wether he mistaken the function or not.

The mysql query might be also the problem if it had failure/crash (returning 0 and exit the callback from runtime error, like how commands turned to "SERVER: Unknown command") and then canceling any edit from being synced to others. If you believe it is, just comment off the mysql lines and try to edit the glasses again.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)