cleolibrary / CLEO4

CLEO 4 for GTA San Andreas
https://cleo.li
MIT License
245 stars 33 forks source link

CLEO_CreateCustomScript not transmiting script params from custom missions #85

Open JuniorDjjr opened 1 year ago

JuniorDjjr commented 1 year ago

https://github.com/cleolibrary/CLEO4/blob/1d7dd7c3af432c03dfc2031bb7859d77686b3865/source/CCustomOpcodeSystem.cpp#L2824

Someone reported using "STREAM_CUSTOM_SCRIPT_FROM_LABEL" from CLEO+ called from a custom mission, the variable values are unknown, probably CLEO tried to use it as if it were a custom script instead of custom mission (or vice versa). I don't know if this only happens when creating a script for label or also file, I think it's just by label because no one has reported it yet.

MiranDMC commented 1 year ago

Any chance for demo script showcasing the problem?