Open cm8263 opened 11 months ago
How strings are stored then referenced is a bit rough (e.g., vector reallocation invalidating previous pointers).
A quick-and-dirty solution (read: hack; YMMV) could be to reserve/preallocate based on GetArguments()
.
Thanks for your response.
A quick-and-dirty solution (read: hack; YMMV) could be to reserve/preallocate based on GetArguments().
Do you mind expanding on this a bit for me? Thanks.
This problem also occurs for the native "TaskPlayAnimAdvanced"
Nothing appears to happen when attempting to use the
TaskPlayAnim
Server RPC with the animation dictionarymp_cop_armoury
. The exact same native and parameters work on the client without issue.Minimal Repo:
Client
This works
Server
This does not work
@NexxonOfficial and myself spent over an hour (include an extra hour by myself) trying different combinations of parameters to try and get it to work, with no luck. The same code can be used to play other animations, just no the one listed above.