The problem with the mask.
#1

Hi people. Faced with such a small problem.

When you put on a mask and write in chat, message appears as it should, ie:
Stranger: Text text text

And when you're sitting in a car in a mask and write something in the chat, the message is displayed as follows:
Player Nickname: Text text text

How to fix this poser to cars and wrote from the "stranger"?

Here's the code:
Код HTML:
public OnPlayerText(playerid, text[])
{
if(MaskOn[playerid] == 1)
{
new string[126];
format(string, sizeof(string), "stranger((%d)) says: %s", playerid, text);
ProxDetector(20.0, playerid, string, COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
return 0;
}
Reply


Messages In This Thread
The problem with the mask. - by Vlad_Dredd - 15.05.2014, 08:55

Forum Jump:


Users browsing this thread: 1 Guest(s)