13.08.2010, 16:34
I want to make 2 lines, when player write something and its over the text line the script just move down and continue his sentence in other line.
any ideas?
any ideas?
|
Text wrapping, yes that's possible. I think that's enabled by default too.
|
new part1[256];
new part2[512];
if(offset > 256)
{
strmid(part1,"Advertisement: %s", result ,0,256,255);
strmid(part2,"Contact: %s Ph: %d", sendername,PlayerInfo[playerid][pPnumber] ,257,512,255);
SendClientMessageToAll(TEAM_GROVE_COLOR,part1);
SendClientMessageToAll(TEAM_GROVE_COLOR,part2);
}
new part1[100];
new part2[100];
if(offset > 100)
{
format(part1, sizeof(part1), "Advertisement: %s", result);
strmid(part2, sizeof(part2), "Contact: %s Ph: %d", sendername,PlayerInfo[playerid][pPnumber]);
SendClientMessageToAll(TEAM_GROVE_COLOR,part1);
SendClientMessageToAll(TEAM_GROVE_COLOR,part2);
}