31.08.2013, 16:14
Yeh, like Tom said it will only read one string.
The reason your code only reads the last line (even if you just used SendClientMessage) is because you never send the message before reformatting the string.
You should do:
If you give me a bit; i will edit this post with the finished string.
The reason your code only reads the last line (even if you just used SendClientMessage) is because you never send the message before reformatting the string.
You should do:
pawn Код:
format(string,sizeof(string), "{0099FF}Money: %d\nLevel: %d", money,score); //formats string.
SendClientMessage(playerid, -1, string) //sends string.
format(string,sizeof(string), "{00AAFF}%s\nAdmin: %d\nVIP: %d", string, admin, vip); //reformats string
SendClientMessage(playerid, -1, string) //sends reformatted string.