I'm trying to create a script that sends a variable amout of meat to each of my clanmates at the end of each daily run, but when I convert the int to a string and use it with the send function, it only sends the "second half" of the amount, i.e., if I were sending someone 1,234 meat, it would only send them 234 using cli_execute("send " + int_to_string(sendmeat) + " meat to playernamehere")
This causes the message send to fail, and the mafia ends up sending a less than three shaped box with the same amount of meat (meaning I've also lost 100 meat as well).
Is there any way to strip commas from the int_to_string, or is there another, better way that I could execute this?
Thanks in advance.
Edit: I did just realize I could just convert the meat to the equivalent amount of meat paste, but if at all possible, I would like to avoid such complications...
This causes the message send to fail, and the mafia ends up sending a less than three shaped box with the same amount of meat (meaning I've also lost 100 meat as well).

Is there any way to strip commas from the int_to_string, or is there another, better way that I could execute this?
Thanks in advance.
Edit: I did just realize I could just convert the meat to the equivalent amount of meat paste, but if at all possible, I would like to avoid such complications...