SA-MP Forums Archive
Need help with string - 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: Need help with string (/showthread.php?tid=397676)



Need help with string - scott1 - 06.12.2012

Hi all,

i got an enum for my BusinessInformation.

ID,
Type,
...
Name[126],
Price,
....

But when some one use special charactere, into the biz name.

Like ||

It make the enum of the biz who got this name bug

Do you know what ?

Thank you

Max


Re: Need help with string - JaKe Elite - 06.12.2012

Then disable them using the symbol "||"


Re : Need help with string - scott1 - 06.12.2012

Yes,

but there is a way without disable it?

Is it possible that whan i load my bizs, the name who contain || make my request bug?

Max


Re: Need help with string - Ballu Miaa - 06.12.2012

This symbol "|" is most old scripts was used to split data which was contained in one string. Maybe thats what is happening!


Re : Need help with string - scott1 - 08.12.2012

Yes

like Mysql One?

Max