Little problem
#1

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.
Reply
#2

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

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

File:
Quote:

crime|crime|crime

Show:
Quote:

- crime
- crime
- crime

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)