SA-MP Forums Archive
Little problem - 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: Little problem (/showthread.php?tid=422827)



Little problem - Seba97 - 15.03.2013

Hi guys!

I have a system that saves a player's crimes in a separate .ini folder.
It saves crimes like this:
PHP код:
crime1|crime2|crime3...etc 
How can i display all that crimes in separate lines like SendClientMessage?

Should show something like this:
PHP код:
Player Crimes:
crime1
crime2
crime3 
I know is something with splitting but i didn't manage to do it.


Re: Little problem - Jstylezzz - 15.03.2013

You want it to look that way in the save file or somewhere else?


Re: Little problem - Seba97 - 15.03.2013

i want the file content to be shown with SendClientMessage on separate lines

File:
Quote:

crime|crime|crime

Show:
Quote:

- crime
- crime
- crime