Do i need check % - 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: Do i need check % (
/showthread.php?tid=603320)
Do i need check % -
ScIrUsna - 21.03.2016
Hi,
I need check strfind in text for %? i mean don't let in text use % or escaping safe from this? and just if i let player write text with % it's will be not bugged when need to show not crash server or something like this or i'am wrong?
Re: Do i need check % -
Melktert - 21.03.2016
Isn't it something like "s%" or "%s"
Re: Do i need check % -
SickAttack - 21.03.2016
"%" is replaced for "#" for a reason. So no, it's not recomended in theory.