12.08.2016, 00:39
Urgh, does noone see what I'm trying to do here?
IMO: The fact that Kalcor removed the strformat from string.inc and added a format in a_samp shows to me that format is indeed a custom made (or atleast altered for sa-mp) function by the SA-MP devs. E.G "- Adds %q to format(). %q is the same as %s although the input will first be passed through sqlite's string escaping function.".
mysql_format is a custom made function, it's fixed in that but not fixed in format. It's just another minor bug that Kalcor would put alot of things over it in development. I just used mysql_format to show the correct behaviour.
IMO: The fact that Kalcor removed the strformat from string.inc and added a format in a_samp shows to me that format is indeed a custom made (or atleast altered for sa-mp) function by the SA-MP devs. E.G "- Adds %q to format(). %q is the same as %s although the input will first be passed through sqlite's string escaping function.".
mysql_format is a custom made function, it's fixed in that but not fixed in format. It's just another minor bug that Kalcor would put alot of things over it in development. I just used mysql_format to show the correct behaviour.