Add < text > in chat
#2

Quote:
Originally Posted by Auri
Посмотреть сообщение
Hi, I am leaving you today with a question regarding the intrusion into the chat. I know that a lot of people have already done and I'm thinking how to do it.

An example of honey for cyanating messages:

Auri: Hi,Forum SAMP, how are you?

After connecting to the screen < surprised > to show us in progress, which will just look.

Auri: Hi,Forum SAMP, < surprised > how are you?

Can anyone help me with this?
I don't think i fully understand your issue because of your broken English but what i know is that you are trying to insert something into a message and this is how to do so:

PHP код:

    
new name[MAX_PLAYER_NAME], string[228];// define the needed variables
  
    
GetPlayerName(playeridnamesizeof(name));// Getting the players name
  
    
format(stringsizeof(string), "Hi, FORUM SAMP,  %s how are you today"name);// Inserting the players name into the message
   
//%s is used to input strings, so the player name is a string and it would be inputted there. 
    
SendClientMessage(playerid,0xFFFF00FFstring); // Sending the message to the player with his/her name inserted in it 
Reply


Messages In This Thread
Add < text > in chat - by Auri - 03.06.2018, 07:03
Re: Add < text > in chat - by Livity - 03.06.2018, 07:22
Re: Add < text > in chat - by GTLS - 03.06.2018, 07:40
Re: Add < text > in chat - by Auri - 03.06.2018, 07:41
Re: Add < text > in chat - by GTLS - 03.06.2018, 07:43
Re: Add < text > in chat - by Auri - 03.06.2018, 07:58
Re: Add < text > in chat - by GTLS - 03.06.2018, 09:04
Re: Add < text > in chat - by Auri - 03.06.2018, 09:30
Re: Add < text > in chat - by GTLS - 03.06.2018, 10:02
Re: Add < text > in chat - by Auri - 03.06.2018, 10:29

Forum Jump:


Users browsing this thread: 2 Guest(s)