PDA

View Full Version : Question about string[0] = EOS;


NexyAG
14/07/2018, 08:25 AM
Hello Community, i have one question for all :D
does
string[0] = EOS(\0); speeds up anything (like does it affect ingame script speed/does it optimise script or what) ?

Eoussama
14/07/2018, 08:43 AM
EOS stands for End Of String, it's a predefined constant with the value of 0, it's just another way to assign the null terminator, so by doing string[0] = EOS you're theoretically emptying the sting, for more information about how strings operate, read this tutorial: http://forum.sa-mp.com/showthread.php?t=654471
It's massive, so take your time.