Can this crash my server ? - 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: Can this crash my server ? (
/showthread.php?tid=605429)
Can this crash my server ? -
sam29 - 19.04.2016
Hello,
I wanted to know: Does "%" in a dialog can crash my server ?
Thanks
Re: Can this crash my server ? -
Sew_Sumi - 19.04.2016
Being that it's special, it could well do.
Quote:
A quite easy way to insert the literal percent sign (%) is by doing the following.
Код:
new string[35];
format(string,sizeof(string),"43%s of my shirts are black.","%%");
SendClientMessage(playerid,0xFFFFFAA,string);
|
Even though it's for SendClientMessage, it should still allow for you to mess around with it and confirm if it is that that is crashing it.
https://sampwiki.blast.hk/wiki/Format