[SUGGESTION] Chat(new function!)
#1

pawn Код:
RemoveChatMessage(playerid,messageid);
params:
lineid - 0-10 last messages
pawn Код:
SetChatMessageString(playerid,messageid,text);
params:
lineid - 0-10 last messages
text - text to set string
pawn Код:
SetChatPos(playerid,x,y);
params:
x - Float coord
y - Float coord
pawn Код:
GetChatMessageString(playerid,messageid,string);
Example:
new mess[128];
GetChatMessageString(playerid,5,mess);
printf("%s",mess);
Reply
#2

Wouldn't be very useful. It would be possible via scripting anyway thanks to the SendPlayerMessage function.
Reply
#3

I think, it can be very useful, but I donґt no, if this funktion is able to realize
Reply
#4

GetChatMessageString >> why function.. you can save your chat to variables..
SetChatPos >> current position is good
RemoveChatMessage >> You do not need the function... Send messages with the current contents of the chat (that you must save to variables.) and when will you need to remove the line, you do not insert it
SetChatMessageString >> like removechatmessage.. just insert your own text instead of a variable containing the original row
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)