Auto Message
#1

hi, I wanna ask if it is possible to send like 2 messages or more in just one time like sending two message in the same time if it is can any one gemme a tutorial link ?
Reply
#2

When a player connects?
Reply
#3

pawn Код:
forward functionautomessage();
public functionautomessage()
{
  SendClientMessageToAll(-1,"[INFO] Visit our site web on: http://www.siteweb.net, for more information about server");
}

public OnGameModeInit()
{
  SetTimer("functionautomessage",60000,true);
  return 1;
}
this send an auto-message each 60 sec to all players connected.
Reply
#4

lol that's not what I ment I need an automessage that sends two messages in the same time
Reply
#5

Quote:
Originally Posted by KillerStrike23
Посмотреть сообщение
lol that's not what I ment I need an automessage that sends two messages in the same time
With this you can send more messages in same time.. just add more sendclientmessagetoall.
Reply
#6

Both of your post have lack of information. Sending messages to 1 or all players?

You can send with a custom function 2 client message you wanted but it will send the first and then the second one and that's because it's single thread. You can't do 2 things at the same time.
Reply
#7

you can use stuff like \n to skip a line if that is what you mean also....
Reply
#8

ah ty I will try it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)