Help new chat
#1

OK
I do system ..
If player call you , you do /answer id
and open you new chat
write on the chat but this send the message for you and for the player ..
Im try this :
(But have bags ...)
OnPlayerText:

PHP код:
    if(HelperChat[playerid] == 1)
    {
        
format(str,sizeof(str),"[HelperChat] Player %s[%d] || %s",GetName(playerid),playerid,text);
        
SendClientMessage(playerid,Orange,str);
        if(
IsPlayerHelper(playerid))
        {
        
format(str,sizeof(str),"[HelperChat] Helper %s[%d] || %s",GetName(playerid),playerid,text);
        
SendClientMessage(playerid,Orange,str);
        return 
0;
    }
    } 
And if player answer to player:
PHP код:
HelperChat[playeridHelperChat[id] = 1
Reply
#2

HELP?
Reply
#3

stop bumping its against the rules!

and I have no clue what your trying todo, try to explain it a little more clearly.
Reply
#4

OK
someone need help , he does /help HELP !!
and I am accept to him /Answer ID
Then we will just chat we see
Reply
#5

I think he wants to make a chat window between him and the one who asks for help.
Reply
#6

YES !!!!!!!!!!!!!!!!!!!
How I do that
I try this but have bags
OnPlayerText:

PHP код:
    if(HelperChat[playerid] == 1)
    {
        
format(str,sizeof(str),"[HelperChat] Player %s[%d] || %s",GetName(playerid),playerid,text);
        
SendClientMessage(playerid,Orange,str);
        if(
IsPlayerHelper(playerid))
        {
        
format(str,sizeof(str),"[HelperChat] Helper %s[%d] || %s",GetName(playerid),playerid,text);
        
SendClientMessage(playerid,Orange,str);
        return 
0;
    }
    } 
And if player answer to player:
PHP код:
HelperChat[playeridHelperChat[id] = 1
Reply
#7

Honestly i don't get you.
Reply
#8

OHHHHHH
Quote:
Quote:

I think he wants to make a chat window between him and the one who asks for help.

^^^^
Reply
#9

HELPPPPPPPPPPPPPPPP
Reply
#10

HELP?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)