format question
#1

Hello i want to put the details of a ban player but i want To show the player the Text under each other. For exemple

format(largestring, sizeof(largestring), "You are currently banned from this server. User:%s IP:%s Time:%s Admin:%s Reason:%s", Name2, PIP, estring, Pname, string);
SendClientMessage(playerid, mycolor, largestring);

I want like

SendClientMessage(bal bla "here the user: ");
SendClientMessage(bal bla "here the IP: ");

etc..

so i have to use many times format then SendClientMessage ? Beacuse i use a general string which is largestring that have 400 array size.
Reply
#2

You should simply just format your string for each new message, it's a lot easier.
Reply
#3

Quote:
Originally Posted by Calg00ne
Посмотреть сообщение
You should simply just format your string for each new message, it's a lot easier.
How many size do you suggest for that?
Reply
#4

The max. character amount you can send with each message is 128, so declare a string with 128 cells.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)