Sendclientmessage new line
#1

Hello, i was thinking - how can i add new line in sendclientmessage without creating another message? I mean.. if i have automsg script, which can send only one line in message, how can i create second line in one message?
If i'am right is it impossible to create a new line with ~n~ or \n as textdraw or gui..
Reply
#2

Quote:
Originally Posted by ixesas
Посмотреть сообщение
Hello, i was thinking - how can i add new line in sendclientmessage without creating another message? I mean.. if i have automsg script, which can send only one line in message, how can i create second line in one message?
If i'am right is it impossible to create a new line with ~n~ or \n as textdraw or gui..
No you can not use '~n~' as you would just see that. '\n' can not be used either.
Reply
#3

Well i know that "tylek12", but is it any way to create a new line without creating second message?
Reply
#4

This may help you https://sampwiki.blast.hk/wiki/Random_Messages
Reply
#5

Your own function;

PHP код:
stock SendClientMessageEx(playerid,color,msg1[],msg2[])
{
    
SendClientMessage(playerid,color,msg1);
    
SendClientMessage(playerid,color,msg2);
    return 
1;

Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)