Escape code - 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: Escape code (
/showthread.php?tid=659309)
Escape code -
Spawe - 29.09.2018
Why it appears to me like this
Example:code1 example:code2 example:code3 example:code4
If I should go out like this
Example:code1
Example:code2
Example:code3
Example:code4
PHP код:
format(contenido, sizeof(contenido), "example:%s, \nexample:%s, \nnexample:%s, \nexample:%s, \nexample:%d", i_server[code], i_server[code1], i_server[code2], i_server[code3], i_server[code4]);
Re: Escape code -
Undef1ned - 29.09.2018
This will be useful to you, the same wiki explains it.
https://sampwiki.blast.hk/wiki/File_Functions
Re: Escape code -
Spawe - 29.09.2018
Quote:
Originally Posted by Undef1ned
|
It doesn't help me at all
Re: Escape code -
Undef1ned - 29.09.2018
PHP код:
format(contenido, sizeof(contenido), "example:%s\r\nexample:%s\r\nexample:%s\r\nexample:%s\r\nexample:%d\r\n", i_server[code], i_server[code1], i_server[code2], i_server[code3], i_server[code4]);
Re: Escape code -
Spawe - 29.09.2018
Gracias