SA-MP Forums Archive
Set sizeof variable based on length of text - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Set sizeof variable based on length of text (/showthread.php?tid=635791)



Set sizeof variable based on length of text - Alex_T - 13.06.2017

Hello so I am creating a system that displays damage done in this person whole time being alive, and I was wondering if there is an easy way to make a variable change size based on how big the text is. BTW My code is working fine I just want to optimize it.